The whole hunk
from line 1, old and new numbered
/
lines
from line 1
1---
2title: Roles
3url: https://platform.claude.com/docs/en/api/compliance/organizations/roles
4---
5
16# Roles
27
38## List Compliance Roles
from line 31
2631
2732### Headers
2833
34- `"anthropic-version": optional string`
35
36 The version of the Claude API you want to use.
37
38 Read more about versioning and our version history [here](https://platform.claude.com/docs/en/api/versioning).
39
2940- `"x-api-key": optional string`
3041
3142### Returns
from line 51
4051
4152 - `created_at: string or null`
4253
43 Role creation timestamp (ISO 8601)
54 Role creation timestamp (RFC 3339)
4455
56 format: date-time
57
4558 - `description: string`
4659
4760 Role description
from line 65
5265
5366 - `updated_at: string or null`
5467
55 Role last-updated timestamp (ISO 8601)
68 Role last-updated timestamp (RFC 3339)
5669
70 format: date-time
71
5772- `has_more: boolean`
5873
5974 Whether more records exist beyond the current result set
from line 91
7691 "data": [
7792 {
7893 "id": "rbac_role_01SGBg3kEnZrdsVR2QmyJbvD",
79 "created_at": "2025-03-12T18:22:41.123456",
94 "created_at": "2025-03-12T18:22:41.123456Z",
8095 "description": "Full administrative access to organization settings and members",
8196 "name": "Organization Admin",
82 "updated_at": "2025-03-14T09:05:17.456789"
97 "updated_at": "2025-03-14T09:05:17.456789Z"
8398 }
8499 ],
85100 "has_more": true,
from line 120
105120
106121### Headers
107122
123- `"anthropic-version": optional string`
124
125 The version of the Claude API you want to use.
126
127 Read more about versioning and our version history [here](https://platform.claude.com/docs/en/api/versioning).
128
108129- `"x-api-key": optional string`
109130
110131### Returns
from line 136
115136
116137- `created_at: string or null`
117138
118 Role creation timestamp (ISO 8601)
139 Role creation timestamp (RFC 3339)
119140
141 format: date-time
142
120143- `description: string`
121144
122145 Role description
from line 150
127150
128151- `updated_at: string or null`
129152
130 Role last-updated timestamp (ISO 8601)
153 Role last-updated timestamp (RFC 3339)
131154
155 format: date-time
156
132157### Example
133158
134159```bash
from line 166
141166```json
142167{
143168 "id": "rbac_role_01SGBg3kEnZrdsVR2QmyJbvD",
144 "created_at": "2025-03-12T18:22:41.123456",
169 "created_at": "2025-03-12T18:22:41.123456Z",
145170 "description": "Full administrative access to organization settings and members",
146171 "name": "Organization Admin",
147 "updated_at": "2025-03-14T09:05:17.456789"
172 "updated_at": "2025-03-14T09:05:17.456789Z"
148173}
149174```
150175
from line 187
162187
163188 - `created_at: string or null`
164189
165 Role creation timestamp (ISO 8601)
190 Role creation timestamp (RFC 3339)
166191
192 format: date-time
193
167194 - `description: string`
168195
169196 Role description
from line 201
174201
175202 - `updated_at: string or null`
176203
177 Role last-updated timestamp (ISO 8601)
204 Role last-updated timestamp (RFC 3339)
178205
206 format: date-time
207
179208### Role List Response
180209
181210- `RoleListResponse object`
from line 217
188217
189218 - `created_at: string or null`
190219
191 Role creation timestamp (ISO 8601)
220 Role creation timestamp (RFC 3339)
192221
222 format: date-time
223
193224 - `description: string`
194225
195226 Role description
from line 231
200231
201232 - `updated_at: string or null`
202233
203 Role last-updated timestamp (ISO 8601)
234 Role last-updated timestamp (RFC 3339)
204235
236 format: date-time
237
205238## Roles › Permissions
206239
207240### List Compliance Role Permissions
from line 266
233266 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.
234267
235268#### Headers
269
270- `"anthropic-version": optional string`
271
272 The version of the Claude API you want to use.
273
274 Read more about versioning and our version history [here](https://platform.claude.com/docs/en/api/versioning).
236275
237276- `"x-api-key": optional string`
238277