Skip to content

Update values of an ASE dSource

Request

Security
ApiKeyAuth
Path
dsourceIdstring, non-emptyrequired

The ID of the dSource.

Bodyapplication/json

The new data to update an ASE dSource.

namestring, [ 1 .. 256 ] characters

Name of the dSource and container to be updated.

descriptionstring, [ 1 .. 1024 ] characters

The notes/description for the dSource.

sync_policy_idstring, [ 1 .. 256 ] characters

The ID of the SnapSync policy for the dSource.

Example:"snapshot-123"
retention_policy_idstring, [ 1 .. 256 ] characters

The ID of the Retention policy for the dSource.

Example:"retention-policy-123"
hooksobject(DSourceHooks)

DSource operation hooks.

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/dsources/ase/{dsourceId}' \
  -H 'Authorization: YOUR_API_KEY_HERE' \
  -H 'Content-Type: application/json' \
  -d '{
    "name": "string",
    "description": "string",
    "sync_policy_id": "snapshot-123",
    "retention_policy_id": "retention-policy-123",
    "hooks": {
      "ops_pre_sync": [
        {
          "name": "Print the current user",
          "command": "whoami",
          "shell": "bash",
          "element_id": "0",
          "has_credentials": false,
          "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"
            }
          ],
          "hook_template_id": "Hook Template 1"
        }
      ],
      "ops_pre_log_sync": [
        {
          "name": "Print the current user",
          "command": "whoami",
          "shell": "bash",
          "element_id": "0",
          "has_credentials": false,
          "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"
            }
          ],
          "hook_template_id": "Hook Template 1"
        }
      ],
      "ops_post_sync": [
        {
          "name": "Print the current user",
          "command": "whoami",
          "shell": "bash",
          "element_id": "0",
          "has_credentials": false,
          "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"
            }
          ],
          "hook_template_id": "Hook Template 1"
        }
      ],
      "pre_validated_sync": [
        {
          "name": "Print the current user",
          "command": "whoami",
          "shell": "bash",
          "element_id": "0",
          "has_credentials": false,
          "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"
            }
          ],
          "hook_template_id": "Hook Template 1"
        }
      ],
      "post_validated_sync": [
        {
          "name": "Print the current user",
          "command": "whoami",
          "shell": "bash",
          "element_id": "0",
          "has_credentials": false,
          "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"
            }
          ],
          "hook_template_id": "Hook Template 1"
        }
      ]
    }
  }'

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