Skip to content

Migrates the masking job from its current source engine to another engine.
deprecated

Request

Security
ApiKeyAuth
Path
maskingJobIdstring, non-emptyrequired

The ID of the Masking Job.

Bodyapplication/json
target_engine_idstring, [ 1 .. 256 ] charactersrequired

The ID of the engine to migrate the job to.

Example:"1"
source_environment_idstring, [ 1 .. 256 ] characters

The ID or name of the source environment on the target engine. This only applies to On-The-Fly jobs.

Example:"test-on-the-fly-mask1"
target_environment_idstring, [ 1 .. 256 ] characters

The ID or name of the target environment on the target engine to migrate the job into.

Example:"prod-in-place-mask1"
force_overwriteboolean

Whether to overwrite objects that already exist on the target engine.

Default:false
curl -i -X POST \
  'https://help-api.delphix.com/_mock/data-control-tower/continuous-compliance/2025.1.0.0/continuous-compliance-apis-dct-2025.1.0.0/masking-jobs/{maskingJobId}/migrate' \
  -H 'Authorization: YOUR_API_KEY_HERE' \
  -H 'Content-Type: application/json' \
  -d '{
    "target_engine_id": "1",
    "source_environment_id": "test-on-the-fly-mask1",
    "target_environment_id": "prod-in-place-mask1",
    "force_overwrite": false
  }'

Responses

Migrate masking job initiated.

Bodyapplication/json
jobobject(Job)

The initiated job.

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