Auth

Change, reset, or set password

Three modes: (1) Change: provide current_password + new_password. (2) Reset via magic link: login with magic link, call with just new_password. (3) Set for passwordless user: requires project allow_password_set=true. Requires BOTH the project apikey header AND the user access_token as Authorization: Bearer.

post/auth/v1/user/password

Request

  • Base URL: https://api.run402.com
  • URL: https://api.run402.com/auth/v1/user/password
  • Auth: API key in header apikey and HTTP bearer

Request body

current_passwordstring

Required for password change (not for reset/set)

new_passwordstring required

Response

Password updated

statusstring required

Example response

{
  "status": "ok"
}

Changes

No recorded changes to this operation across all 1 revision of this API.