To enable the Compliance API, see the setup guide.
Set up the Compliance APICompliance-Rollenberechtigungen auflisten
GET/v1/compliance/organizations/{org_uuid}/roles/{role_id}/permissions
Compliance-Rollenberechtigungen auflisten
Path parameters
Query parameters
Headers
Returns
Compliance-Rollenberechtigungen auflisten
cURL
curl https://api.anthropic.com/v1/compliance/organizations/$ORG_UUID/roles/$ROLE_ID/permissions \
-H "Authorization: Bearer $ANTHROPIC_COMPLIANCE_API_KEY"Response 200
{
"data": [
{
"action": "claude_code",
"resource_id": "a1b2c3d4-e5f6-4789-a012-3456789abcde",
"resource_type": "organization"
}
],
"has_more": true,
"next_page": "cGFnZV90b2tlbl9leGFtcGxlXzE3MzQ1Njc4OTA="
}Returns Examples
Response 200
{
"data": [
{
"action": "claude_code",
"resource_id": "a1b2c3d4-e5f6-4789-a012-3456789abcde",
"resource_type": "organization"
}
],
"has_more": true,
"next_page": "cGFnZV90b2tlbl9leGFtcGxlXzE3MzQ1Njc4OTA="
}