Auth - End User

Reset password

Consumes a password reset token and replaces the end-user password.

post/api/auth/reset-password

Request

  • Base URL: https://api.ascendkit.dev (the document declares no server; this is the origin it was published from)
  • URL: https://api.ascendkit.dev/api/auth/reset-password
  • Auth: none declared

Request body

publicKeystring required

Environment public key for the project.

tokenstring required

One-time reset token from the password reset email.

newPasswordstring required

Replacement plain-text password.

Example request

{
  "publicKey": "pk_dev_1234567890abcdef",
  "token": "rst_token_123",
  "newPassword": "new-correct-horse-battery-staple"
}

Response

Successful Response

dataunknown
errorstring nullable
metaobject nullable

Changes

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