Skip to content

Update Online Booking User Password

Request

Updating the password of an online booking user.

The response comes with a new user token.

Security
BearerPartner
Headers
Acceptstringrequired

e.g. application/vnd.api.v2+json

Example:application/vnd.api.v2+json
Content-Typestringrequired

application/json

Authorizationstringrequired

Bearer partner_token, User user_token

Bodyapplication/jsonrequired
old_passwordstring

Current Password

Example:"qwerty123"
new_passwordstring

New password

Example:"example!"
curl -i -X PUT \
  https://developer.alteg.io/_mock/en/public/openapi/booking/user/password \
  -H 'Accept: application/vnd.api.v2+json' \
  -H 'Authorization: Bearer <YOUR_Bearer {PartnerToken}_HERE>' \
  -H 'Content-Type: application/json' \
  -d '{
    "old_password": "qwerty123",
    "new_password": "example!"
  }'

Responses

OK

Bodyapplication/json
successboolean

Execution success status (true)

Example:true
dataobject

Object with data

Example:
{ "user_token": "4de9d8cc108c0" }
metaArray of objects

Metadata (empty array)

Example:
[]
Response
{ "success": true, "data": { "user_token": "4de9d8cc108c0" }, "meta": [] }