Claude Platform Docs

RBAC-Rollen

RBAC-Rollen auflisten
$client->organization->rbacRoles->list(?int limit, ?string page): PageCursor<RBACRole>
GET/v1/organizations/rbac_roles

Listet RBAC-Rollen in der Organisation auf.

RBAC-Rolle abrufen
$client->organization->rbacRoles->retrieve(string rbacRoleID): RBACRole
GET/v1/organizations/rbac_roles/{rbac_role_id}

Ruft eine RBAC-Rolle anhand ihrer ID ab.

Models
class RBACRole { $type = 'rbac_role'; $id; $createdAt; /* 2 more */ }
"rbac_role" type

Object type.

For RBAC Roles, this is always "rbac_role".

string id

ID of the RBAC Role.

\Datetime createdAt

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

string displayName

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.

\Datetime updatedAt

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

RBAC-RollenBerechtigungen

Berechtigungen einer RBAC-Rolle auflisten
$client->organization->rbacRoles->permissions->list(string rbacRoleID, ?int limit, ?string page): PageCursor<RBACRolePermission>
GET/v1/organizations/rbac_roles/{rbac_role_id}/permissions

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