auth

Change Password

Change a password, or add the first one to a Google or Apple account.

An existing password must be confirmed. The change signs out every other session, and the fresh token returned here keeps this one signed in. A wrong current password is a 400, not a 401: the client reads 401 as "your session ended" and would sign out.

post/auth/change-password

Request

  • Base URL: https://api.tickertrac.com (the document declares no server; this is the origin it was published from)
  • URL: https://api.tickertrac.com/auth/change-password
  • Auth: one of:
    • HTTP bearer
    • API key in header X-API-Key

Request body

current_passwordstring nullable
new_passwordstring required

Response

Successful Response

access_tokenstring required
token_typestring
api_keystring nullable

Changes

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