Security
ApiKeyAuth
The parameters to create a hook template.
- Mock serverhttps://help-api.delphix.com/_mock/data-control-tower/continuous-data/2026.3.0.0/continuous-data-apis-dct-2026.3.0.0/hook-templates
- https://help-api.delphix.com/dct/v3https://help-api.delphix.com/dct/v3/hook-templates
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/hook-templates \
-H 'Authorization: YOUR_API_KEY_HERE' \
-H 'Content-Type: application/json' \
-d '{
"name": "Hook Template 1",
"description": "string",
"shell": "bash",
"command": "string",
"credentials_env_vars": [
{
"base_var_name": "string",
"password": "password",
"vault_username": "my-vault",
"vault": "1-VAULT-1",
"hashicorp_vault_engine": "kv",
"hashicorp_vault_secret_path": "oracle-env",
"hashicorp_vault_username_key": "username",
"hashicorp_vault_secret_key": "secret",
"azure_vault_name": "azure_vault",
"azure_vault_username_key": "username",
"azure_vault_secret_key": "secret",
"cyberark_vault_query_string": "Safe=Test;Folder=Test;Object=Test",
"credential_type": "PasswordCredential",
"element_id": 35,
"type": "CredentialsEnvVars"
}
],
"tags": [
{
"key": "key-1",
"value": "value-1"
}
]
}'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.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" }, "hook_template": { "id": "string", "name": "string", "dct_managed": true, "description": "string", "shell": "bash", "command": "string", "credentials_env_vars": [ … ], "engine_id": "string", "compatible_engine_id": "string", "tags": [ … ] } }