v1

latestOpenAPI 3.0.02026-07-14198572488.4 KB
Site Users

Create or update password for the site user.

For a given site user, create a new password when user is initially invited to site or resets their password

post/v1/sites/users/{user_id}/password

Path parameters

user_idinteger required

Request body

passwordstring required

Password for the site user

tokenstring required

Token that allows the password to be set

Example request

{
  "password": "password123jh378rg39ho3jpr@#U)@#@UI",
  "token": "1234567890"
}

Response

OK

successboolean

whether the request succeeded

errorsstring[]
messagesstring[] nullable

Example response

{
  "success": true,
  "errors": [],
  "messages": [],
  "result": {
    "success": true
  }
}