Suspend Tenant User
POST/api/v1/tenant-admin/users/:user_id/suspend
Suspend a user within the tenant.
Only accessible by tenant admins. The admin cannot suspend themselves. The target user must belong to the same tenant as the admin. Suspended users cannot log in until reactivated.
Request
Responses
- 200
- 400
- 401
- 403
- 404
- 422
- 500
Successful Response
Cannot suspend yourself or user already suspended
Unauthorized
Tenant admin role required or user not in tenant
User not found
Validation Error
Server error