Skip to content

Update values of an AppData dSource

Request

Security
ApiKeyAuth
Path
dsourceIdstring, non-emptyrequired

The ID of the dSource.

Bodyapplication/json

The new data to update an AppData dSource.

namestring, [ 1 .. 256 ] characters

Name of the dSource and container to be updated.

descriptionstring, [ 1 .. 1024 ] characters

The notes/description for the dSource.

staging_environmentstring

The environment used as an intermediate stage to pull data into Delphix [AppDataStaged only].

Example:"3-UNIX_HOST_ENVIRONMENT-7"
staging_environment_userstring

The environment user used to access the staging environment [AppDataStaged only].

Example:"HOST_USER-11"
environment_userstring, [ 1 .. 256 ] characters

The OS user to use for linking.

Example:"HOST_USER-11"
parametersobject

The JSON payload conforming to the DraftV4 schema based on the type of application data being manipulated.

excludesArray of strings

List of subdirectories in the source to exclude when syncing data. These paths are relative to the root of the source directory. [AppDataDirect only]

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.

ops_pre_syncArray of objects(SourceOperation)deprecated

Operations to perform before syncing the created dSource. These operations can quiesce any data prior to syncing.

ops_post_syncArray of objects(SourceOperation)deprecated

Operations to perform after syncing a created dSource.

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/appdata/{dsourceId}' \
  -H 'Authorization: YOUR_API_KEY_HERE' \
  -H 'Content-Type: application/json' \
  -d '{
    "name": "string",
    "description": "string",
    "staging_environment": "3-UNIX_HOST_ENVIRONMENT-7",
    "staging_environment_user": "HOST_USER-11",
    "environment_user": "HOST_USER-11",
    "parameters": {},
    "excludes": [
      "string"
    ],
    "follow_symlinks": [
      "string"
    ],
    "sync_policy_id": "snapshot-123",
    "retention_policy_id": "retention-policy-123",
    "ops_pre_sync": [
      {
        "name": "string",
        "command": "string",
        "shell": "bash",
        "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": "string"
      }
    ],
    "ops_post_sync": [
      {
        "name": "string",
        "command": "string",
        "shell": "bash",
        "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": "string"
      }
    ],
    "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": {} } }