Update a user account (super admin)
PATCH/api/v1/system/users/:uid
Changes a user's sign-in email without their password. The address is
trimmed and lowercased, the account's email verification is cleared,
every session of the user is signed out (the caller's own session is
kept when they edit themselves), and a notice is sent to the previous
address when email sending is configured. Records auth.email_changed
in each of the user's organizations. This is how the seeded
admin@solidping.io gets a real address. Answers 400 for a
malformed address, 404 for an unknown user and 409 CONFLICT when
another account already uses the address.
Request
Responses
- 200
- 400
- 401
- 403
- 404
- 409
The updated user
Validation error
Authentication required
Permission denied
Resource not found
Resource conflict