permissions
Get Tenant Roles
List 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: [].
Error Codes
- 403 Forbidden: Caller lacks user-management permission in the tenant
GET
Get Tenant Roles
Previous
Get Users In RoleList the users assigned to a role.
The authenticated user must have user-management permission in the tenant.
## Path Parameters
- **tenant_id** (UUID): The UUID of the tenant
- **role_id** (UUID): The UUID of the role (list roles via GET /api/v1/permissions/tenants/{tenant_id}/roles)
## Response
Returns a JSON list of users: [{"id", "name"}] (name is the user's email).
## Error Codes
- **403 Forbidden**: Caller lacks user-management permission in the tenant
Next
Get Tenant Roles