Claude Platform Docs

Permisos

Listar permisos de un rol RBAC
client.Beta.Organization.RBACRoles.Permissions.List(ctx, rbacRoleID, query) (*PageCursor[BetaRBACRolePermission], error)
GET/v1/organizations/rbac_roles/{rbac_role_id}/permissions

Lista los permisos que otorga un rol RBAC.

Models
type BetaRBACAllConnectorsPermissionResource struct { Type: "all_connectors" }
Type AllConnectors

Kind of resource the permission applies to.

defaultall_connectors
type BetaRBACConnectorPermissionResource struct { Type: "connector"; ConnectorID }
Type Connector

Kind of resource the permission applies to.

defaultconnector
ConnectorID string

ID of the connector the permission applies to.

type BetaRBACConnectorScopePermissionResource struct { Type: "connector_scope"; ConnectorID; Scope }
Type ConnectorScope

Kind of resource the permission applies to.

defaultconnector_scope
ConnectorID string

ID of the connector the permission applies to.

Scope string

OAuth scope the permission names — the role may receive this scope when tokens are minted for the connector.

Subject to the same encoding rule as tool_name: a scope containing characters outside [a-zA-Z0-9_-] (or colliding with a reserved form) appears server-encoded in a stable {prefix}_{32-hex} form. OAuth scopes routinely contain : and /, so most appear encoded.

type BetaRBACConnectorToolPermissionResource struct { Type: "connector_tool"; ConnectorID; ToolName }
Type ConnectorTool

Kind of resource the permission applies to.

defaultconnector_tool
ConnectorID string

ID of the connector the permission applies to.

ToolName string

Published name of the connector tool the permission applies to.

When the published name contains characters outside [a-zA-Z0-9_-] (or collides with a reserved form), it is server-encoded into a stable {prefix}_{32-hex} form — a shortened readable prefix of the name plus a hash — from which the published name is not recoverable.

type BetaRBACOrganizationPermissionResource struct { Type: "organization"; OrganizationID }
Type Organization

Kind of resource the permission applies to.

defaultorganization
OrganizationID string

UUID of the organization the permission applies to.

type BetaRBACRolePermission struct { Type: "rbac_role_permission"; Action; Resource }