permissions
Remove User From Role Endpoint
Remove a user from a role.
The authenticated user must be able to manage users in the tenant.
Path Parameters
- user_id (UUID): The UUID of the user to remove from the role
Request Parameters
- role_id (UUID): The UUID of the role to remove the user from
DELETE
Remove User From Role Endpoint
Previous
Add User To TenantAdd a user to a tenant.
This endpoint assigns a user to a specific tenant, allowing them to access
resources and data associated with that tenant. The authenticated user must
be the owner of the tenant or have appropriate administrative permissions.
## Path Parameters
- **user_id** (UUID): The UUID of the user to add to the tenant
## Request Parameters
- **tenant_id** (UUID): The UUID of the tenant to assign the user to
## Response
Returns a success message indicating the user was added to the tenant.
## Error Codes
- **400 Bad Request**: Invalid user or tenant ID
- **403 Forbidden**: User doesn't have permission to assign tenants
- **404 Not Found**: User or tenant doesn't exist
- **500 Internal Server Error**: Error adding user to tenant
Next
Remove User From Role Endpoint