Add a member
POST/admin/users
Adds a person to the casino in X-Tenant-Id. If the address already has an
account, this attaches it to this casino rather than creating a second one.
The password is optional. Leave it out and the account reaches the console through the magic-link flow instead, which keeps this route out of the credential business entirely.
Permission: users.write
Request
Responses
- 201
- 400
- 401
- 403
- 409
Member added
X-Tenant-Id is missing, the body is malformed, the role is not one of the three, or the password is too short
No session cookie, or it expired
The role lacks users.write, or the caller is not a member of this casino
Already a member of this casino