Skip to content

Update values of a Snapshot.

Request

Security
ApiKeyAuth
Path
snapshotIdstring, non-emptyrequired

The ID of the snapshot.

Bodyapplication/json

The new data to update a Snapshot.

expirationstring, (date)

The expiration for this snapshot. Mutually exclusive with retain_forever.

Example:"2021-07-04T00:00:00.000Z"
retain_foreverboolean

Indicates that the snapshot should be retained forever.

Example:false
curl -i -X PATCH \
  'https://help-api.delphix.com/_mock/data-control-tower/continuous-data/22.0.0/continuous-data-apis-dct-22.0.0/snapshots/{snapshotId}' \
  -H 'Authorization: YOUR_API_KEY_HERE' \
  -H 'Content-Type: application/json' \
  -d '{
    "expiration": "2021-07-04T00:00:00.000Z",
    "retain_forever": false
  }'

Responses

Snapshot update initiated.

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