Skip to content

Update a Staging CDB.

Request

Security
ApiKeyAuth
Path
stagingCdbIdstringrequired

The Staging CDB ID.

Bodyapplication/json

The parameters to update a Staging CDB.

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" ]
logsync_enabledboolean

True if LogSync is enabled for this Staging CDB.

tde_keystore_passwordstring, <= 128 characters

For a Staging CDB using software keystore, this is the password of the software keystore used by this database. For a Staging CDB 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 Staging CDB using HSM, this is the credential of the external key manager which is managing master encryption keys of this database. A blank string will unset the existing tde keystore password.

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""UNSET"
tde_kms_pkcs11_config_pathstring

Path to the PKCS#11 configuration file for TDE KMS. A blank string will unset the existing PKCS#11 config path.

Example:"/etc/oracle/tde/kms_pkcs11.conf"
allow_auto_staging_restart_on_host_rebootboolean

Whether to automatically restart staging operations on host reboot.

physical_standbyboolean

Whether this Staging CDB is a physical standby database.

validate_snapshot_by_opening_db_in_read_modeboolean

Whether to validate snapshots by opening the database in read mode.

custom_env_variables_pairsArray of objects(NameValuePair)

An array of name value pair of environment variables.

custom_env_variables_pathsArray of strings

An array of strings of whitespace-separated parameters to be passed to the source command. The first parameter must be an absolute path to a file that exists on the target environment. Every subsequent parameter will be treated as an argument interpreted by the environment file.

environment_idstring

The ID of the environment to move this Staging CDB to.

Example:"1-ENVIRONMENT-1"
repository_idstring

The ID of the repository to move this Staging CDB to.

Example:"1-ORACLE_INSTALL-1"
environment_user_idstring

The ID of the environment user to use for this Staging CDB.

Example:"ENV_USER-1"
descriptionstring

Description of this Staging CDB.

Example:"Updated staging CDB description"
config_paramsobject

Database configuration parameter overrides.

Example:
{ "processes": 150 }
db_template_idstring

The ID of the database template to apply to this Staging CDB.

Example:"1-DB-TEMPLATE-1"
okv_client_idstring

The id of the OKV client used for TDE keystore access. A blank string will unset the existing OKV client id.

Example:"1-ORACLE_OKV_CLIENT-1"
instance_namestring, non-empty.*\S.*

The instance name of this single instance CDB. Must contain at least one non-whitespace character.

Example:"CDBSID"
instance_numberinteger, >= 1

The instance number of this single instance CDB.

Example:1
curl -i -X PATCH \
  'https://help-api.delphix.com/_mock/data-control-tower/continuous-data/2026.2.0.0/continuous-data-apis-dct-2026.2.0.0/staging-cdbs/{stagingCdbId}' \
  -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"
    ],
    "logsync_enabled": true,
    "tde_keystore_password": "password",
    "tde_keystore_config_type": "FILE",
    "tde_kms_pkcs11_config_path": "/etc/oracle/tde/kms_pkcs11.conf",
    "allow_auto_staging_restart_on_host_reboot": true,
    "physical_standby": true,
    "validate_snapshot_by_opening_db_in_read_mode": true,
    "custom_env_variables_pairs": [
      {
        "var_name": "env-var-name-1",
        "var_value": "env-var-value-1"
      }
    ],
    "custom_env_variables_paths": [
      "string"
    ],
    "environment_id": "1-ENVIRONMENT-1",
    "repository_id": "1-ORACLE_INSTALL-1",
    "environment_user_id": "ENV_USER-1",
    "description": "Updated staging CDB description",
    "config_params": {
      "processes": 150
    },
    "db_template_id": "1-DB-TEMPLATE-1",
    "okv_client_id": "1-ORACLE_OKV_CLIENT-1",
    "instance_name": "CDBSID",
    "instance_number": 1
  }'

Responses

Staging CDB update initiated.

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", "compliance_node_id": "string", "compliance_node_name": "string", "percent_complete": 50, "virtualization_tasks": [ … ], "tasks": [ … ], "execution_id": "string", "result_type": "string", "result": {} } }