List Compliance Role Permissions
api/compliance/organizations/roles/permissions/list
Nearest release: v2.1.245, published an hour after this site recorded the change. Shown because the two are within 24 hours of each other. Nothing here says the release caused the edit.
api/compliance/organizations/roles/permissions/list Changed · +12 / -15 lines
# List Compliance Role Permissions ## Path parameters ## Query parameters ## Headers ## Returns ## Example ### Response (200) ## List Compliance Role Permissions ### Path Parameters ### Query Parameters ### Header Parameters ### Returns ### Example #### Response
---- -title: List Compliance Role Permissions -url: https://platform.claude.com/docs/en/api/compliance/organizations/roles/permissions/list ---- +# List Compliance Role Permissions -## List Compliance Role Permissions +**GET** `/v1/compliance/organizations/{org_uuid}/roles/{role_id}/permissions` -**get** `/v1/compliance/organizations/{org_uuid}/roles/{role_id}/permissions` - List Compliance Role Permissions -### Path Parameters +## Path parameters - `org_uuid: string`
The role ID (tagged ID, e.g., rbac_role_abc123) -### Query Parameters +## Query parameters - `limit: optional number` Maximum results (default: 500, max: 1000) + default: 500, maximum: 1000, minimum: 1 + - `page: optional string` Opaque pagination token from a previous response's `next_page` field. Pass this to retrieve the next page of results. Clients should treat this value as an opaque string and not attempt to parse or interpret its contents, as the format may change without notice. -### Header Parameters +## Headers - `"x-api-key": optional string` -### Returns +## Returns -- `data: array of object { action, resource_id, resource_type }` +- `data: array of object` List of permissions
Token to retrieve the next page. Use this as the 'page' parameter in your next request -### Example +## Example -```http +```bash curl https://api.anthropic.com/v1/compliance/organizations/$ORG_UUID/roles/$ROLE_ID/permissions \ -H "Authorization: Bearer $ANTHROPIC_COMPLIANCE_API_KEY" ``` -#### Response +### Response (200) ```json {