cURL
curl --request PATCH \ --url https://api.xenia.team/api/v1/hotel/{HotelId}/setPassword \ --header 'Content-Type: application/json' \ --header 'x-client-key: <api-key>' \ --header 'x-client-secret: <api-key>' \ --data '{ "userId": "e25dd448-7ae7-4588-8767-7e1a316547e5", "password": "123123" }'
{ "data": {}, "extra_meta": { "message": "User password updated successfully" } }
Sets or resets the password for a user within the specified hotel/workspace. Also sends a notification email.
ID of the hotel
ID of the user whose password is to be updated
New password to be set
6
Password updated successfully
Show child attributes