Authorizations
Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
Body
application/json
Response
200 - application/json
Password has been changed successfully.
The response is of type object.
curl --request POST \
--url https://{controlPlaneURL}/api/svc/v1/users/change-password \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '{
"loginId": "<string>",
"newPassword": "<string>",
"oldPassword": "<string>"
}'{}Change password for the authenticated user. Requires clientId and loginId in the request body.
curl --request POST \
--url https://{controlPlaneURL}/api/svc/v1/users/change-password \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '{
"loginId": "<string>",
"newPassword": "<string>",
"oldPassword": "<string>"
}'{}Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
Password has been changed successfully.
The response is of type object.
Was this page helpful?