The
spaces functions are currently in BETA. The API may change without notice. A one-time warning is emitted on first use.List Spaces
Create a Space
Get a Space
Update a Space
Delete a Space
Add a User to a Space
Uses upsert semantics — if the user is already a member, their role is updated. The user must already be a member of the space’s parent organization. Requires space admin role orROLE_BINDING_CREATE permission.
Remove a User from a Space
Removes the user’s space membership and all RBAC role bindings on the space. Requires space admin role orROLE_BINDING_DELETE permission.