internal
post/api/auth/update

Request

  • Base URL
    https://app.scanopy.net
  • URL
    https://app.scanopy.net/api/auth/update
  • Auth
    none declared

Request body

current_passwordstring password nullable

Current password — required if the user already has a password set. Not required for OIDC-only users adding their first password.

new_passwordstring password required

New password to set

Response

Password updated

errorstring nullable

Not sent on a successful response. Failure messages arrive in an ApiErrorResponse.

successboolean required

Always true on a successful response.

Example response

{
  "meta": {
    "api_version": 1,
    "server_version": "0.19.4"
  }
}

Changes