Claude Platform Docs

RBAC-Rollen

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

Listet RBAC-Rollen in der Organisation auf.

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

Ruft eine RBAC-Rolle anhand ihrer ID ab.

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-RollenBerechtigungen

Berechtigungen einer RBAC-Rolle auflisten
organization.rbac_roles.permissions.list(rbac_role_id, **kwargs) -> SyncPageCursor[RBACRolePermission]
GET/v1/organizations/rbac_roles/{rbac_role_id}/permissions

Listet die Berechtigungen auf, die eine RBAC-Rolle gewährt.