Authentication factors

Update a password

Replaces the logged-in user's password with the tokenized password supplied in the request. The user must provide a valid authentication token.

Read Password for how to collect and tokenize passwords without exposing their plain-text value to your application.

post/passwords/update

Request

  • Base URL: https://sandbox.weavr.io/multi
  • URL: https://sandbox.weavr.io/multi/passwords/update
  • Auth: HTTP bearer and API key in header api-key

Request body

Example request

{
  "oldPassword": {
    "value": "Passw0rd!"
  },
  "newPassword": {
    "value": "Passw0rd!"
  }
}

Response

Success

tokenstring

The authorization token to be used in the Authorization header for secured operations.

Example response

{
  "passwordInfo": {
    "identityId": {
      "type": "CONSUMER",
      "id": "123456789"
    },
    "expiryDate": 1793894400000
  }
}

Changes

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