RBAC-Rolle abrufen
GET/v1/organizations/rbac_roles/{rbac_role_id}
Ruft eine RBAC-Rolle anhand ihrer ID ab.
Die RBAC Roles API steht nur Claude Enterprise-Organisationen zur Verfügung.
RBAC-Rolle abrufen
require "anthropic"
anthropic = Anthropic::Client.new(api_key: "my-anthropic-api-key")
rbac_role = anthropic.organization.rbac_roles.retrieve("rbac_role_id")
puts(rbac_role)Response 200
{
"id": "rbac_role_016J8xVtKpDq3Wy9ZmN2hR4s",
"created_at": "2024-10-30T23:58:27.427722Z",
"display_name": "Project Editor",
"source": {
"type": "built_in"
},
"type": "rbac_role",
"updated_at": "2024-10-30T23:58:27.427722Z"
}Returns Examples
Response 200
{
"id": "rbac_role_016J8xVtKpDq3Wy9ZmN2hR4s",
"created_at": "2024-10-30T23:58:27.427722Z",
"display_name": "Project Editor",
"source": {
"type": "built_in"
},
"type": "rbac_role",
"updated_at": "2024-10-30T23:58:27.427722Z"
}