Auth

Change the password and rotate the current session

patch/auth/password

Request

  • Base URL: https://api.flashdata.dev/v2
  • URL: https://api.flashdata.dev/v2/auth/password
  • Auth: API key in cookie __Host-fd_session and API key in header X-CSRF-Token

Request body

currentPasswordstring required
newPasswordstring required
revokeOtherSessionsboolean

Response

Password changed; current session rotated and other sessions revoked when requested

Changes

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