Reset Password
POST/api/v1/auth/accounts/:username/reset-password
Reset an account's password (admin only).
An IdP-owned (external) account is refused: the password lives at the
identity provider. The live store takes the new password immediately (next
login), and the change is mirrored into the durable deploy repo so it
survives a rebuild. The git block reports whether that mirror merged
straight away (dev/solo) or is a pending review PR / CLI merge
(production+team), or is a no-op file share.
Request
Responses
- 200
- 401
- 403
- 422
- default
Successful Response
No valid session: the credentials are missing, invalid or expired, or the account behind them is disabled or blocked
Refused: the session lacks the action this route checks, or its account must replace an issued password first. A SCIM route answers a refused action in the RFC 7644 error envelope
Validation Error
Problem details (RFC 9457)