Update an account of a website
PUT/api/v1/Website/:websiteId/User/:managedUserId
Updates a stored account (user name, password, note) of a website. The account to change is identified by the ID in the body; the website ID in the path is only checked to exist. Send the full account: omitted name, user name, comment and managedType values replace the stored ones.
Permission required: Admin or App role.
Values for managedType: 0 = NotManaged, 1 = Manual, 2 = Automatic.
Caution: The request can contain a new password; use HTTPS. The change applies immediately.
Request
Responses
- 200
- 404
- 500
The body is the updated account.
No website has that ID. The body is a message.
The resource ID in the body does not belong to a website, no account has the ID in the body, or credentialId does not match the account.