Retrieve an RBAC Role by ID.

The RBAC Roles API is available to Claude Enterprise organizations only.

get/v1/organizations/rbac_roles/{rbac_role_id}

Request

  • Base URL
    https://api.anthropic.com
  • Auth
    none declared

Path parameters

rbac_role_idstring required

ID of the RBAC Role.

Headers

anthropic-versionstring

The version of the Claude API you want to use.

Read more about versioning and our version history here.

Response

Successful Response

created_atstring date-time required

RFC 3339 datetime string indicating when the RBAC Role was created.

display_namestring required

Name of the RBAC Role. For a role created by Anthropic, this name can differ from the label claude.ai shows, and Anthropic may change the name. To keep a lasting reference to a role, store its id.

idstring required

ID of the RBAC Role.

type'rbac_role' required

Object type.

For RBAC Roles, this is always "rbac_role".

updated_atstring date-time required

RFC 3339 datetime string indicating when the RBAC Role was last updated.

Example response

{
  "created_at": "2024-10-30T23:58:27.427722Z",
  "display_name": "Project Editor",
  "id": "rbac_role_016J8xVtKpDq3Wy9ZmN2hR4s",
  "updated_at": "2024-10-30T23:58:27.427722Z"
}

Changes