Claude Platform Docs

Funções RBAC

Listar funções RBAC
beta.organization.rbac_roles.list(**kwargs) -> SyncPageCursor[BetaRBACRole]
GET/v1/organizations/rbac_roles

Lista as funções RBAC na organização.

Obter função RBAC
beta.organization.rbac_roles.retrieve(rbac_role_id) -> BetaRBACRole
GET/v1/organizations/rbac_roles/{rbac_role_id}

Recupera uma função RBAC por ID.

Models
class BetaRBACRole: type: "rbac_role"; id; created_at; ... # 3 more
type: Literal["rbac_role"]

Object type.

For RBAC Roles, this is always "rbac_role".

defaultrbac_role
id: str

ID of the RBAC Role.

created_at: datetime

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

formatdate-time
display_name: str

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.

updated_at: datetime

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

formatdate-time
name: str⁠Deprecated

Deprecated: use display_name instead. Name of the RBAC Role; always the same value as display_name.

Use `display_name` instead; `name` always has the same value.

Funções RBACPermissões

Listar permissões da função RBAC
beta.organization.rbac_roles.permissions.list(rbac_role_id, **kwargs) -> SyncPageCursor[BetaRBACRolePermission]
GET/v1/organizations/rbac_roles/{rbac_role_id}/permissions

Lista as permissões concedidas por uma função RBAC.