Skip to content

Update values of a VCDB

Request

Security
ApiKeyAuth
Path
vcdbIdstring, non-emptyrequired

The ID of the vCDB.

Bodyapplication/json

The parameters to update a VCDB.

oracle_servicesArray of strings

List of jdbc connection strings which are used to connect with the database.

Example:
[ "jdbc:oracle:thin:@hostname:port/service_name", "jdbc:oracle:thin:@hostname:port:SID" ]
instancesArray of objects(OracleRACDatabaseInstance)

The instances of this RAC database.

Example:
[ { "instance_name": "instance1", "instance_number": 1, "node_reference": "ORACLE_CLUSTER_NODE-1" } ]
node_listenersArray of strings

The list of node listener ids for this VCDB.

Example:
[ "1-ORACLE_NODE_LISTENER-2", "1-ORACLE_NODE_LISTENER-3" ]
invoke_datapatchboolean

Indicates whether datapatch should be invoked.

tde_keystore_passwordstring, [ 1 .. 128 ] characters

For a vCDB using software keystore, this is the password of the software keystore used by this database. For a vCDB using OKV, this is the password for the endpoint provided during the installation of the Oracle Key Vault client library (i.e., okvclient.jar) on the host where this database runs. For a vCDB using HSM, this is the credential of the external key manager which is managing master encryption keys of this database.

Example:"password"
tde_keystore_config_typestring(OracleTdeKeystoreConfigTypeEnum)

Oracle TDE keystore configuration type.

Enum:"FILE""OKV""HSM""OKV|FILE""FILE|OKV""HSM|FILE""FILE|HSM""OCI_VAULT"
tde_key_identifierstring, [ 34 .. 78 ] characters

The master encryption key id of this database.

Example:"0692EFF441BB604F82BFDAD4D2D4181B30"
db_usernamestring, [ 1 .. 256 ] characters

The username of the database user.

Example:"db-username"
db_passwordstring, [ 1 .. 256 ] characters

The password of the database user.

Example:"db-password"
auto_restartboolean

Whether to enable VDB restart.

environment_user_idstring, [ 1 .. 256 ] characters

The environment user ID to use to connect to the target environment.

Example:"environment-user-123"
config_paramsobject

Database configuration parameter overrides.

Example:
{ "processes": 150 }
custom_env_varsobject

Environment variable to be set when the engine administers a VCDB. See the Engine documentation for the list of allowed/denied environment variables and rules about substitution. Custom environment variables can only be updated while the VCDB is disabled.

Example:
{ "MY_ENV_VAR1": "$ORACLE_HOME", "MY_ENV_VAR2": "$CRS_HOME/after" }
custom_env_filesArray of strings

Environment files to be sourced when the Engine administers a VCDB. This path can be followed by parameters. Paths and parameters are separated by spaces. Custom environment variables can only be updated while the VCDB is disabled.

Example:
[ "/export/home/env_file_1", "/export/home/env_file_2" ]
oracle_rac_custom_env_filesArray of objects(OracleRacCustomEnvFile)

Environment files to be sourced when the Engine administers an Oracle RAC VCDB. This path can be followed by parameters. Paths and parameters are separated by spaces. Custom environment variables can only be updated while the VCDB is disabled.

Example:
[ { "node_id": "ORACLE_CLUSTER_NODE-1", "path_parameters": "/export/home/env_file_1" } ]
oracle_rac_custom_env_varsArray of objects(OracleRacCustomEnvVar)

Environment variable to be set when the engine administers an Oracle RAC VCDB. See the Engine documentation for the list of allowed/denied environment variables and rules about substitution. Custom environment variables can only be updated while the VCDB is disabled.

Example:
[ { "node_id": "ORACLE_CLUSTER_NODE-1", "name": "MY_ENV_VAR1", "value": "$CRS_HOME/after" } ]
descriptionstring

The container description of this virtual CDB.

Example:"Updated virtual CDB description."
db_template_idstring, [ 1 .. 256 ] characters

The ID of the target Virtual CDB Template.

Example:"template-123"
curl -i -X PATCH \
  'https://help-api.delphix.com/_mock/data-control-tower/continuous-data/2025.6.0.0/continuous-data-apis-dct-2025.6.0.0/vcdbs/{vcdbId}' \
  -H 'Authorization: YOUR_API_KEY_HERE' \
  -H 'Content-Type: application/json' \
  -d '{
    "oracle_services": [
      "jdbc:oracle:thin:@hostname:port/service_name",
      "jdbc:oracle:thin:@hostname:port:SID"
    ],
    "instances": [
      {
        "instance_name": "instance1",
        "instance_number": 1,
        "node_reference": "ORACLE_CLUSTER_NODE-1"
      }
    ],
    "node_listeners": [
      "1-ORACLE_NODE_LISTENER-2",
      "1-ORACLE_NODE_LISTENER-3"
    ],
    "invoke_datapatch": true,
    "tde_keystore_password": "password",
    "tde_keystore_config_type": "FILE",
    "tde_key_identifier": "0692EFF441BB604F82BFDAD4D2D4181B30",
    "db_username": "db-username",
    "db_password": "db-password",
    "auto_restart": true,
    "environment_user_id": "environment-user-123",
    "config_params": {
      "processes": 150
    },
    "custom_env_vars": {
      "MY_ENV_VAR1": "$ORACLE_HOME",
      "MY_ENV_VAR2": "$CRS_HOME/after"
    },
    "custom_env_files": [
      "/export/home/env_file_1",
      "/export/home/env_file_2"
    ],
    "oracle_rac_custom_env_files": [
      {
        "node_id": "ORACLE_CLUSTER_NODE-1",
        "path_parameters": "/export/home/env_file_1"
      }
    ],
    "oracle_rac_custom_env_vars": [
      {
        "node_id": "ORACLE_CLUSTER_NODE-1",
        "name": "MY_ENV_VAR1",
        "value": "$CRS_HOME/after"
      }
    ],
    "description": "Updated virtual CDB description.",
    "db_template_id": "template-123"
  }'

Responses

OK

Bodyapplication/json
jobobject(Job)

An asynchronous task.

Response
{ "job": { "id": "job-123", "status": "RUNNING", "is_waiting_for_telemetry": true, "type": "DB_REFRESH", "localized_type": "DB Refresh", "error_details": "Unable to connect to the engine.", "warning_message": "Failed to remove local MaskingJob, engineId: 3 localMaskingJobId: 7.", "target_id": "vdb-123", "target_name": "vdb", "start_time": "2022-01-02T05:11:24.148Z", "update_time": "2022-01-02T06:11:24.148Z", "trace_id": "string", "engine_ids": [ … ], "tags": [ … ], "engines": [ … ], "account_id": 1, "account_name": "User 1", "percent_complete": 50, "virtualization_tasks": [ … ], "tasks": [ … ], "execution_id": "string", "result_type": "string", "result": {} } }