Repository Public
1---2title: Permissions3url: https://platform.claude.com/docs/en/api/compliance/organizations/roles/permissions4---56# Permissions78## List Compliance Role Permissions910**GET** `/v1/compliance/organizations/{org_uuid}/roles/{role_id}/permissions`1112List Compliance Role Permissions1314### Path parameters1516- `org_uuid: string`1718 The organization UUID1920- `role_id: string`2122 The role ID (tagged ID, e.g., rbac_role_abc123)2324### Query parameters2526- `limit: optional number`2728 Maximum results (default: 500, max: 1000)2930 default: 500, maximum: 1000, minimum: 13132- `page: optional string`3334 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.3536### Headers3738- `"x-api-key": optional string`3940### Returns4142- `data: array of object`4344 List of permissions4546 - `action: string`4748 Action permitted on the resource4950 - `resource_id: string`5152 Identifier of the resource the permission applies to5354 - `resource_type: string`5556 Type of resource the permission applies to5758- `has_more: boolean`5960 Whether more records exist beyond the current result set6162- `next_page: string or null`6364 Token to retrieve the next page. Use this as the 'page' parameter in your next request6566### Example6768```bash69curl https://api.anthropic.com/v1/compliance/organizations/$ORG_UUID/roles/$ROLE_ID/permissions \70 -H 'anthropic-version: 2023-06-01' \71 -H "Authorization: Bearer $ANTHROPIC_COMPLIANCE_API_KEY"72```7374#### Response (200)7576```json77{78 "data": [79 {80 "action": "claude_code",81 "resource_id": "a1b2c3d4-e5f6-4789-a012-3456789abcde",82 "resource_type": "organization"83 }84 ],85 "has_more": true,86 "next_page": "cGFnZV90b2tlbl9leGFtcGxlXzE3MzQ1Njc4OTA="87}88```8990## Domain types9192### Permission List Response9394- `PermissionListResponse object`9596 Permission granted by a role.9798 - `action: string`99100 Action permitted on the resource101102 - `resource_id: string`103104 Identifier of the resource the permission applies to105106 - `resource_type: string`107108 Type of resource the permission applies to109