List Compliance Roles
api/compliance/organizations/roles/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/list Changed · +12 / -15 lines
# List Compliance Roles ## Path parameters ## Query parameters ## Headers ## Returns ## Example ### Response (200) ## List Compliance Roles ### Path Parameters ### Query Parameters ### Header Parameters ### Returns ### Example #### Response
---- -title: List Compliance Roles -url: https://platform.claude.com/docs/en/api/compliance/organizations/roles/list ---- +# List Compliance Roles -## List Compliance Roles +**GET** `/v1/compliance/organizations/{org_uuid}/roles` -**get** `/v1/compliance/organizations/{org_uuid}/roles` - List Compliance Roles -### Path Parameters +## Path parameters - `org_uuid: string` The organization UUID -### 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 { id, created_at, description, 2 more }` +- `data: array of object` List of roles
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 \ -H "Authorization: Bearer $ANTHROPIC_COMPLIANCE_API_KEY" ``` -#### Response +### Response (200) ```json {