com.atlassian.confluence.content.render.xhtml.migration.exceptions.UnknownMacroMigrationException: The macro 'next_previous_link3' is unknown.
Changing the User Password
Description | A user is able to change the password to secure their EMM profile via the REST API given below. | ||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|
Resource Path | /change-password | ||||||||||||
URL | /mdm-admin/users/change-password | ||||||||||||
HTTP Method | POST | ||||||||||||
Request/Response Format | application/json | ||||||||||||
cURL command | curl -X POST -H "Content-Type: application/json" -H "Authorization: Bearer <EMM_API_TOKEN>" -d @'<JSON_PAYLOAD>' -k -v https://<EMM_HOST>:<EMM_HTTPS_PORT>/mdm-admin/users/change-password
Example: curl -X POST -H "Content-Type: application/json" -H "Authorization: Bearer 33392fb365b3ac693b405b565ddc8a3a" -d @'user.json' -k -v https://localhost:9443/mdm-admin/users/change-password | ||||||||||||
 Sample output |  > POST /mdm-admin/users/change-password HTTP/1.1 > Host: localhost:9443 > User-Agent: curl/7.43.0 > Accept: */* > Content-Type: application/json > Authorization: Bearer 9ffd50a15654de12e677ebaac9767597 > Content-Length: 83 < HTTP/1.1 201 Created < Date: Mon, 21 Mar 2016 12:22:20 GMT < Content-Type: application/json < Content-Length: 97 < Server: WSO2 Carbon Server {"statusCode":201,"messageFromServer":"User password by username: kim was successfully changed."} | ||||||||||||
Sample JSON Definition | { "username":"kim", "oldPassword":"a2ltJDEyMzQ=", "newPassword":"a2ltJDEyYmFy" }
|
com.atlassian.confluence.content.render.xhtml.migration.exceptions.UnknownMacroMigrationException: The macro 'next_previous_links2' is unknown.