Change a member's role or status
PATCH/admin/users/:id
Changes the MEMBERSHIP, never the account: the person's name, address and second factor are theirs and are not editable from someone else's casino.
The last active owner cannot be demoted or suspended — a casino nobody owns is a casino nobody can fix.
Permission: users.write
Request
Responses
- 200
- 400
- 401
- 403
- 404
- 409
Updated
X-Tenant-Id is missing, the body is malformed, or the role/status is not one of the accepted values
No session cookie, or it expired
The role lacks users.write, or the caller is not a member of this casino
No such member of this casino
The casino would be left without an active owner