Transfer Tenant Ownership
POST/api/v1/tenant-admin/transfer-ownership
Transfer tenant ownership to another user.
Only accessible by the current tenant owner. After transfer:
- The specified user becomes the new owner
- The current owner is downgraded to admin role
- This action cannot be undone without the new owner's cooperation
Request
Responses
- 200
- 400
- 401
- 403
- 404
- 422
- 500
Successful Response
Cannot transfer to yourself or user not eligible
Unauthorized
Owner role required
Target user not found in tenant
Validation Error
Server error