Reset Users passwords (Random Value)

put

/cloudapi/restapi/user/auto-reset-pwd

This operation generates a random string and writes it to the password field for each of a list of users. The users are notified when the operation completes successfully.

Request

Body ()
Array of User Id strings whose passwords to be automatically reset.
Root Schema : schema
Type: array
Show Source
Back to Top

Response

Supported Media Types

200 Response

successful operation
Body ()
Root Schema : schema
Type: object
Additional Properties Allowed
Show Source
Nested Schema : additionalProperties
Type: object

400 Response

Invalid input, Please check.

500 Response

Internal Server Error. Underlying Identity Management System threw an error, Please check the logs.
Back to Top

Examples

Method

PUT

Response Content Type

text/plain

Operation

/cloudapi/restapi/user/{userid}/auto-reset-pwd

cURL Example

REQUEST URL: http://hostname:<port>/cloudapi/restapi/user/JSMITH/auto-reset-pwd

curl -X PUT http://hostname:<port>/cloudapi/restapi/user/JSMITH/auto-reset-pwd -H 'accept: text/plain'

Response Body Example

Success

Back to Top