Claude Platform Docs

RBAC Roles

List RBAC Roles
organization.rbac_roles.list(**kwargs) -> SyncPageCursor[RBACRole]
GET/v1/organizations/rbac_roles

List RBAC Roles in the organization.

Get RBAC Role
organization.rbac_roles.retrieve(rbac_role_id) -> RBACRole
GET/v1/organizations/rbac_roles/{rbac_role_id}

Retrieve an RBAC Role by ID.

Models
class RBACRole: type: "rbac_role"; id; created_at; ... # 3 more
type RBACRoleSource = ...
One of the following:
class RBACRoleSourceBuiltIn: type: "built_in"
type: Literal["built_in"]

Anthropic provisions the RBAC Role, and the organization's administrators cannot change or delete it.

defaultbuilt_in
class RBACRoleSourceCustom: type: "custom"
type: Literal["custom"]

The organization's administrators can change and delete the RBAC Role.

defaultcustom
class RBACRoleSourceBuiltIn: type: "built_in"
type: Literal["built_in"]

Anthropic provisions the RBAC Role, and the organization's administrators cannot change or delete it.

defaultbuilt_in
class RBACRoleSourceCustom: type: "custom"
type: Literal["custom"]

The organization's administrators can change and delete the RBAC Role.

defaultcustom

RBAC RolesPermissions

List RBAC Role Permissions
organization.rbac_roles.permissions.list(rbac_role_id, **kwargs) -> SyncPageCursor[RBACRolePermission]
GET/v1/organizations/rbac_roles/{rbac_role_id}/permissions

List the permissions an RBAC Role grants.