Account
Choose a new password
Spends the token from the reset link and sets the new password. Every other session the user had ends, every reset link they hold is spent, and their email counts as verified. Pending invites to the address are joined. Every personal API key the user made, on every team, is revoked; service keys are the team’s and stay. The answer says how many sessions ended and keys were revoked. Sets the oc_session cookie for the user’s own team (or their first team). No credential needed.
POST
Choose a new password
Body
application/json
Response
The user, the team the new session acts for, and what the reset invalidated.