Generate password
This method generates a new password for an existing account.
The user must have Retrieve files from safe permissions for the safe where the account is stored. If using the PreventSameCharPerPrevPassPosition parameter, the user must have Use Password permissions.
URL
|
-
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/
Resource information
HTTP method |
Content type |
---|---|
POST |
application/json |
Header parameter
Parameter |
Description |
---|---|
Authorization |
The token that identifies the session, encoded in BASE 64. See Authentication. Type: String Mandatory: Yes Default value: None |
URL parameter
Parameter |
Description |
---|---|
AccountID |
The ID of the account to which the password will be generated. Type: string Mandatory: yes Default value: none |
Result
|
Parameter |
Description |
---|---|
Password |
The new password. Type: string |
Return codes
For a complete list of return codes, see Return Codes.