permissions
Select Tenant
Select current tenant.
This endpoint selects a tenant with the specified UUID. Tenants are used to organize users and resources in multi-tenant environments, providing isolation and access control between different groups or organizations.
Sending a null/None value as tenant_id selects his default single user tenant
Request Parameters
- tenant_id (Union[UUID, None]): UUID of the tenant to select, If null/None is provided use the default single user tenant
Response
Returns a success message along with selected tenant id.
POST
Select Tenant
Previous
Get Tenant RolesList all roles in a tenant.
The authenticated user must be the tenant owner or have user-management
permission (e.g. Admin role) in the tenant.
## Path Parameters
- **tenant_id** (UUID): The UUID of the tenant (find yours via GET /api/v1/permissions/tenants/me)
## Response
Returns a JSON list of roles: [{"id", "name", "description", "user_count"}].
## Error Codes
- **403 Forbidden**: Caller lacks user-management permission in the tenant
Next
Select Tenant