Sub-user password change
Headers | |||||||||
Authorization | Bearer token | ||||||||
Accept | application/json | ||||||||
X-Client | ios-cctv|android-cctv|thick-legal|web | ||||||||
X-UUID | unique device id |
Body | |||||||||
json |
JSON
| ||||||||
subuseroptional | int | Sub-user's identifier for whom the password needs to be updated | |||||||
passwordrequired | string | Password for the sub-user | |||||||
password_confirmationrequired | string | Confirm the password to ensure it is entered correctly |
Response | |||||||||
200 | Successful response | ||||||||
JSON
| |||||||||
404 | If the sub-user does not belong to the user or does not exist | ||||||||
401 | Authorization token not provided or invalid, see Obtaining a token |
Example | |||||||||
JSON
|