Reset user password

This method resets an existing Vault user's password.

  • Make sure there are no spaces in the URL.

  • The following characters are not supported in URL values: + & %

  • If the URL includes a dot (.), add a forward slash (/) at the end of the URL. For example: api/Safes/MySafe/Members/user@cyber.com/

To run this Web service, you must have the following permissions:

  • Audit users
  • Reset Users' Passwords

The user who runs this Web service must be in the same Vault Location or higher as the user whose password is being reset.

URL

 
https://<subdomain>.privilegecloud.cyberark.com/PasswordVault/API/Users/{UserID}/ResetPassword/

Resource information

HTTP method

POST

Content type

application/json

Header parameter

Parameter

Authorization (mandatory)

Type

String

Description

The token that identifies the session.

Valid values

A session token that was returned from the “Logon” method.

Body parameters

Parameter

Description

id

(Mandatory) The user's unique ID.

Type: number

newPassword

The user’s new password.

Maximum length: 39 characters

Must meet the password policy requirements.

Type: string

Return codes

For a complete list of return codes, see Return Codes.