Skip to content

Create a Data Class.

Request

Security
ApiKeyAuth
Bodyapplication/jsonrequired

The new Data Class to create

namestring

The name of this data class.

Example:"Account Number"
default_algorithm_idstring

The ID of the default masking algorithm for this data class.

Example:"a638d976-6b7e-43f4-9212-90f4dc6d405c"
default_token_algorithm_idstring or null

The ID of the default tokenization algorithm for this data class.

Example:"a638d976-6b7e-43f4-9212-90f4dc6d405c"
algorithm_idsArray of strings, <= 500 items, unique

The list of algorithm IDs available for this data class.

Example:
[ "a638d976-6b7e-43f4-9212-90f4dc6d405c", "414ed52c-fa89-455d-9fb9-9c2fa5115f80" ]
descriptionstring or null

A description of this data class.

Example:"This data class is used for account numbers."
examplestring or null, <= 200 characters

An example data value for this data class.

Example:"abc-123"
tagsArray of objects(Tag)

The tags for this data class.

curl -i -X POST \
  https://help-api.delphix.com/_mock/data-control-tower/continuous-compliance/2025.2.0.0/continuous-compliance-apis-dct-2025.2.0.0/data-classes \
  -H 'Authorization: YOUR_API_KEY_HERE' \
  -H 'Content-Type: application/json' \
  -d '{
    "name": "Account Number",
    "default_algorithm_id": "a638d976-6b7e-43f4-9212-90f4dc6d405c",
    "default_token_algorithm_id": "a638d976-6b7e-43f4-9212-90f4dc6d405c",
    "algorithm_ids": [
      "a638d976-6b7e-43f4-9212-90f4dc6d405c",
      "414ed52c-fa89-455d-9fb9-9c2fa5115f80"
    ],
    "description": "This data class is used for account numbers.",
    "example": "abc-123",
    "tags": [
      {
        "key": "key-1",
        "value": "value-1"
      }
    ]
  }'

Responses

Data Class creation 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" } }