Access Control - Permissions

Show Policy Permissions

Shows policy permissions by policy ID.

Request
Security:
ApiKeyAuth
path Parameters
policy_id
required
integer (AccessControlPolicyId)
Example: 67
Responses
200

OK

get/access_control/policies/{policy_id}/permissions
Request samples
curl -i -X GET \
  'https://api.treasuredata.com/v3/access_control/policies/{policy_id}/permissions' \
  -H 'Authorization: TD1 <YOUR_TOKEN_HERE>'
Response samples
application/json
{
  • "WorkflowProject": [
    ],
  • "WorkflowProjectLevel": [
    ],
  • "Segmentation": [
    ],
  • "MasterSegmentConfigs": [
    ],
  • "MasterSegmentConfig": [
    ],
  • "SegmentAllFolders": [
    ],
  • "SegmentFolder": [
    ],
  • "Authentications": [
    ],
  • "Sources": [
    ],
  • "Destinations": [
    ],
  • "Databases": [
    ]
}

Update Policy Permissions

Updates policy permissions.

Request
Security:
ApiKeyAuth
path Parameters
policy_id
required
integer (AccessControlPolicyId)
Example: 67
Request Body schema: application/json
Array of objects

Permissions on resource

Array of objects

Permissions on resource

Array of objects

Permissions on resource

Array of objects

Permissions on resource

Array of objects

Permissions on resource

Array of objects

Permissions on deatabases

Responses
200

OK

patch/access_control/policies/{policy_id}/permissions
Request samples
application/json
{
  • "WorkflowProject": [
    ],
  • "WorkflowProjectLevel": [
    ],
  • "Authentications": [
    ],
  • "Sources": [
    ],
  • "Destinations": [
    ],
  • "Databases": [
    ]
}
Response samples
application/json
{
  • "WorkflowProject": [
    ],
  • "WorkflowProjectLevel": [
    ],
  • "Segmentation": [
    ],
  • "MasterSegmentConfigs": [
    ],
  • "MasterSegmentConfig": [
    ],
  • "SegmentAllFolders": [
    ],
  • "SegmentFolder": [
    ],
  • "Authentications": [
    ],
  • "Sources": [
    ],
  • "Destinations": [
    ],
  • "Databases": [
    ]
}
Support
Copyright © 2021 Treasure Data, Inc. (or its affiliates). All rights reserved.