Description | In a situation where you need to block a user from accessing their EMM profile, the EMM administrator is able to reset the password. This will change the user's password and the user will not be able to able to login to the account as he/she is not aware of the new password. | ||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|
Resource Path | /reset-password | ||||||||||||
URL | /mdm-admin/users/reset-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/reset-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/reset-password | ||||||||||||
Sample output | > POST /mdm-admin/users/reset-password HTTP/1.1 > Host: localhost:9443 > User-Agent: curl/7.43.0 > Accept: */* > Content-Type: application/json > Authorization: Bearer 0fd1000b683015149711949919c2ce24 > Content-Length: 65 < HTTP/1.1 201 Created < Date: Tue, 08 Mar 2016 06:43:54 GMT < Content-Type: application/json < Content-Length: 99 < Server: WSO2 Carbon Server {"statusCode":201,"messageFromServer":"User password by username: admin was successfully changed."} | ||||||||||||
Sample JSON Definition | { username: "kim", oldPassword: "", newPassword: "aGVsbG8=" }
|
Unknown macro: {next_previous_link3}
Manage space
Manage content
Integrations