Account

Add a password to your account

Adds an optional password to an account created through a mailed code or a provider. Rejects passwords found in public breach corpora. Changing an existing password is a different flow. Needs a recent identity confirmation.

post/v1/auth/password

Request

  • Base URL: https://api.spacefast.com
  • URL: https://api.spacefast.com/v1/auth/password
  • Auth: API key in cookie __Host-better-auth.session_token

Request body

passwordstring required

Response

Response for status 200

$schemastring uri

Canonical JSON Schema URL for this response body. The server also sends it in the Link: rel="describedby" response header.

Changes

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