Skip to content

Create a database template.

Request

Security
ApiKeyAuth
Bodyapplication/jsonrequired

The parameters to create a database template.

namestring, non-emptyrequired

The DatabaseTemplate name.

Example:"template-name"
descriptionstring

User provided description for this template.

Example:"Config params for prod01"
source_typestringrequired

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:
{ "confgName1": "configValue1", "configName2": "configValue2" }
make_current_account_ownerboolean

Whether the account creating this database template must be configured as owner of the database template.

Default:true
tagsArray of objects(Tag)
curl -i -X POST \
  https://help-api.delphix.com/_mock/data-control-tower/continuous-data/2026.3.0.0/continuous-data-apis-dct-2026.3.0.0/database-templates \
  -H 'Authorization: YOUR_API_KEY_HERE' \
  -H 'Content-Type: application/json' \
  -d '{
    "name": "template-name",
    "description": "Config params for prod01",
    "source_type": "OracleVirtualSource",
    "parameters": {
      "confgName1": "configValue1",
      "configName2": "configValue2"
    },
    "make_current_account_owner": true,
    "tags": [
      {
        "key": "key-1",
        "value": "value-1"
      }
    ]
  }'

Responses

OK

Bodyapplication/json
database_templateobject(DatabaseTemplate)

A database template to use for provisioning and refresh. If set, configParams will be ignored on provision or refresh.

jobobject(Job)
Response
{ "database_template": { "id": "1-database-template-123", "name": "template-name", "description": "Config params for prod01", "source_type": "OracleVirtualSource", "parameters": { … }, "tags": [ … ] }, "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.148000+00:00", "update_time": "2022-01-02T06:11:24.148000+00:00", "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": {}, "job": { … }, "class_type": "DeleteDSourceResponse" } }