Update User Password
PUT/api/v33.02/users/password
x-prisma-cloud-target-env: {"permission":"user"}
Changes the password of a user.
To invoke this endpoint in the Console UI:
- Click on the user icon near the top-right corner of the Console UI.
- Select Change password.
- Enter the old and new passwords.
- Click the Save button.
cURL Request
The following cURL command replaces the password of USER
(the user authenticating with Console to call this endpoint).
$ curl 'https://<CONSOLE>/api/v<VERSION>/users/password' \
-k \
-X PUT \
-u <USER> \
-H 'Content-Type: application/json' \
-d \
'{
"oldPassword": "<OLD_PASSWORD>",
"newPassword": "<NEW_PASSWORD>"
}'
Note: No response will be returned upon successful execution.
Request
Responses
- 200
- default
OK