Update Account
PUT/api/v1/auth/accounts/:username
Update account groups, enabled/blocked status, or contact fields (admin only).
Refused when the caller disables or blocks their own account, or when that (or stripping every system-scope admin group) would leave no usable system-admin account.
Request
Responses
- 200
- 401
- 403
- 409
- 422
- default
Successful Response
No valid session: the credentials are missing, invalid or expired, or the account behind them is disabled or blocked
self_deactivate: an account cannot disable or block itself
last_admin: disabling, blocking, or stripping the system admin group from this account would leave no usable system admin
Validation Error
Problem details (RFC 9457)