compliance-org-data changedmanage-claude/compliance-org-data
Nearest release: v2.1.304, published under 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.
Recorded here
Lines+5added
Lines−15removed
From line
73
where the diff opens
First seen
14 Aug 2026
this site's first read of the page
Recorded edits7to this page, all time
The whole hunk
from line 73, old and new numbered
/
from line 73
7373Results are sorted by organization join date ascending. Unlike the Activity Feed's `before_id`/`after_id` cursors (see [Paginate results](https://platform.claude.com/docs/en/manage-claude/compliance-activity-feed#paginate-results)), the directory endpoints paginate with a `next_page` token: when `has_more` is `true`, pass `next_page` back unchanged as the `page` query parameter on the next request.
7474
7575```bash cURL
76org_uuid="91012d09-e48b-438e-a489-1bebfd8fa6f9"
77
7876curl --fail-with-body -sS -G \
79 "https://api.anthropic.com/v1/compliance/organizations/$org_uuid/users" \
77 "https://api.anthropic.com/v1/compliance/organizations/91012d09-e48b-438e-a489-1bebfd8fa6f9/users" \
8078 -H "x-api-key: $ANTHROPIC_COMPLIANCE_ACCESS_KEY" \
8179 -H "anthropic-version: 2023-06-01" \
8280 --data-urlencode "limit=500"
from line 109
111109By default, the response lists only members who have set at least one of the two values. Pass `include_unset=true` to list every current member, with `null` for each value that is not set. To return specific members only, pass up to 10 user IDs in `user_ids[]`. Results paginate with `limit` (default 20, maximum 100) and `page`. As on the [organization users endpoint](https://platform.claude.com/docs/en/manage-claude/compliance-org-data#list-organization-users), pass `next_page` back unchanged as `page`; also send the same `include_unset` and `user_ids[]` values with every page, or the call returns [400 Bad Request](https://platform.claude.com/docs/en/manage-claude/compliance-errors#invalid-pagination-cursor). A page can hold fewer results than `limit`, or none, and still not be the last, so keep requesting pages until `next_page` is `null`.
112110
113111```bash cURL
114org_uuid="91012d09-e48b-438e-a489-1bebfd8fa6f9"
115
116112curl --fail-with-body -sS \
117 "https://api.anthropic.com/v1/compliance/organizations/$org_uuid/user_preferences" \
113 "https://api.anthropic.com/v1/compliance/organizations/91012d09-e48b-438e-a489-1bebfd8fa6f9/user_preferences" \
118114 -H "x-api-key: $ANTHROPIC_COMPLIANCE_ACCESS_KEY" \
119115 -H "anthropic-version: 2023-06-01"
120116```
from line 139
143139Both role endpoints require `read:compliance_org_data`. The list endpoint accepts the same `limit` and `page` parameters as the [organization users endpoint](https://platform.claude.com/docs/en/manage-claude/compliance-org-data#list-organization-users).
144140
145141```bash cURL
146org_uuid="91012d09-e48b-438e-a489-1bebfd8fa6f9"
147
148142curl --fail-with-body -sS \
149 "https://api.anthropic.com/v1/compliance/organizations/${org_uuid}/roles" \
143 "https://api.anthropic.com/v1/compliance/organizations/91012d09-e48b-438e-a489-1bebfd8fa6f9/roles" \
150144 -H "x-api-key: $ANTHROPIC_COMPLIANCE_ACCESS_KEY" \
151145 -H "anthropic-version: 2023-06-01"
152146```
from line 201
207201For each group ID, list its members:
208202
209203```bash cURL
210group_id="rbac_group_01P9qRsTuVwXyZa2BcDeFgHjK"
211
212204curl --fail-with-body -sS -G \
213 "https://api.anthropic.com/v1/compliance/groups/$group_id/members" \
205 "https://api.anthropic.com/v1/compliance/groups/rbac_group_01P9qRsTuVwXyZa2BcDeFgHjK/members" \
214206 -H "x-api-key: $ANTHROPIC_COMPLIANCE_ACCESS_KEY" \
215207 -H "anthropic-version: 2023-06-01"
216208```
from line 235
243235</Note>
244236
245237```bash cURL
246org_uuid="91012d09-e48b-438e-a489-1bebfd8fa6f9"
247
248238curl --fail-with-body -sS \
249 "https://api.anthropic.com/v1/compliance/organizations/$org_uuid/settings" \
239 "https://api.anthropic.com/v1/compliance/organizations/91012d09-e48b-438e-a489-1bebfd8fa6f9/settings" \
250240 -H "x-api-key: $ANTHROPIC_COMPLIANCE_ACCESS_KEY" \
251241 -H "anthropic-version: 2023-06-01"
252242```
No line in this hunk matches that.