SPB Git

Repository Public

retrieve.md 1.4 KB 80 lines markdown

1---2title: Get Compliance Group3url: https://platform.claude.com/docs/en/api/compliance/groups/retrieve4---56# Get Compliance Group78**GET** `/v1/compliance/groups/{group_id}`910Get Compliance Group1112## Path parameters1314- `group_id: string`1516  The group ID (tagged ID, e.g., rbac_group_abc123)1718## Headers1920- `"x-api-key": optional string`2122## Returns2324- `id: string`2526  Group identifier (tagged ID)2728- `created_at: string or null`2930  Group creation timestamp (RFC 3339)3132  format: date-time3334- `description: string`3536  Group description3738- `name: string`3940  Group name4142- `roles: array of string or null`4344  Role IDs assigned to this group.4546- `source_type: string`4748  How the group was created ('direct' or 'scim')4950- `updated_at: string or null`5152  Group last-updated timestamp (RFC 3339)5354  format: date-time5556## Example5758```bash59curl https://api.anthropic.com/v1/compliance/groups/$GROUP_ID \60    -H 'anthropic-version: 2023-06-01' \61    -H "Authorization: Bearer $ANTHROPIC_COMPLIANCE_API_KEY"62```6364### Response (200)6566```json67{68  "id": "rbac_group_012rppKaSVsmTo6NqRDXQXNF",69  "created_at": "2025-03-12T18:22:41.123456Z",70  "description": "All members of the engineering organization",71  "name": "Engineering Team",72  "roles": [73    "rbac_role_01SGBg3kEnZrdsVR2QmyJbvD",74    "rbac_role_01HtCd4mFoAseWS3RnzKcwE7"75  ],76  "source_type": "scim",77  "updated_at": "2025-03-14T09:05:17.456789Z"78}79```80
Files main
Menu

Theme