Skip to content

Updates a DatabaseTemplate by ID

Request

Security
ApiKeyAuth
Path
databaseTemplateIdstring, non-emptyrequired

The ID of the Database Template.

Bodyapplication/json

The new data to update a VDB.

namestring, non-empty

The DatabaseTemplate name.

Example:"template-name"
descriptionstring

User provided description for this template.

Example:"Config params for prod01"
source_typestring

The type of the source associated with the template.

Enum:"OracleVirtualSource""OracleLinkedSource""MSSqlVirtualSource""MSSqlLinkedSource"
Example:"OracleVirtualSource"
parametersobject

A name/value map of string configuration parameters.

Example:
{ "configName1": "configValue1", "configName2": "configValue2" }
curl -i -X PATCH \
  'https://help-api.delphix.com/_mock/data-control-tower/continuous-data/2025.1.0.0/continuous-data-apis-dct-2025.1.0.0/database-templates/{databaseTemplateId}' \
  -H 'Authorization: YOUR_API_KEY_HERE' \
  -H 'Content-Type: application/json' \
  -d '{
    "name": "template-name",
    "description": "Config params for prod01",
    "source_type": "OracleVirtualSource",
    "parameters": {
      "configName1": "configValue1",
      "configName2": "configValue2"
    }
  }'

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" } }