Skip to content

Create custom role

Request

Security
ApiKeyAuth
Bodyapplication/json
namestringrequired

The Role name.

descriptionstring

Role description.

permission_objectsArray of objects, [ 1 .. 1000 ] items, unique(PermissionObject)required

The list of permissions granted by this role.

immutableboolean

If set to true, adding or removing permission is not allowed.

Default:false
tagsArray of objects(Tag)
ui_profilesArray of strings

The list of profiles that influence the navigation menus shown in the UI.

curl -i -X POST \
  https://help-api.delphix.com/_mock/data-control-tower/continuous-data/2025.6.0.0/continuous-data-apis-dct-2025.6.0.0/roles \
  -H 'Authorization: YOUR_API_KEY_HERE' \
  -H 'Content-Type: application/json' \
  -d '{
    "name": "string",
    "description": "string",
    "permission_objects": [
      {
        "object_type": "VDB",
        "permissions": [
          "CREATE"
        ]
      }
    ],
    "immutable": false,
    "tags": [
      {
        "key": "key-1",
        "value": "value-1"
      }
    ],
    "ui_profiles": [
      "string"
    ]
  }'

Responses

Returns the newly created role.

Bodyapplication/json
namestringrequired

The Role name.

descriptionstring

Role description.

permission_objectsArray of objects, [ 1 .. 1000 ] items, unique(PermissionObject)required

The list of permissions granted by this role.

immutableboolean

If set to true, adding or removing permission is not allowed.

Default:false
tagsArray of objects(Tag)
ui_profilesArray of strings

The list of profiles that influence the navigation menus shown in the UI.

idstring

The Role ID.

system_roleboolean

System role are pre defined roles. System roles cannot be modified.

Response
{ "name": "string", "description": "string", "permission_objects": [ { … } ], "immutable": false, "tags": [ { … } ], "ui_profiles": [ "string" ], "id": "string", "system_role": true }