Create role binding
Create a new role binding (Platform Admin only)
Query parameters
wait_role_propagation
If true, wait for role to propagate before returning (default: true). Set to false for bulk operations.
Request
This endpoint expects an object.
principal
The principal identifier (email, user ID, or group ID)
role
The role name (e.g., ‘Viewer’, ‘Editor’, ‘Admin’)
workspace
The workspace this binding applies to. None for platform-level roles.
Response
Successful Response
id
name
principal
workspace
role
granted_by
granted_at
revoked_at
Errors
422
Unprocessable Entity Error