This service reverts an applied policy on a device.
https://emmserver.com/emm/iemm/services/policy
POST
This is a mandatory parameter to authenticate a user.
This is a mandatory parameter. The possible values are as follows:
This is an optional parameter. With every applied policy service, it returns with one requestid. Passing that requestid in the service device returns to the state maintained before applying that policy.
By default it reverts all the policies applied through services and maintains the state as it was at the time of the enrollment.
This is a mandatory parameter and allowed value is application/x-www-form-urlencoded.
This is an optional parameter. The default value is application/xml,
and the possible values are application/xml
or application/json
This is a mandatory parameter. The value is output header parameter Set-Cookie value of the previous service.
Refer responseCode.
A unique identifier for requested applied policy.
A Boolean value to check, if the policy is reverted successfully or not. The possible values are TRUE and FALSE.
This helps in maintaining the session and passed in consecutive services as value of input header parameter Cookie
Input:
query=revertpolicy&deviceid=fbf43e35aeb2fb9eaedf0dddf26250d4
Output:
{ "description":"success", "responseCode":1000, "policiesRevert":true }
Last updated on : 04 March, 2021 | Copyright © 2018 Kony, Inc. All rights reserved. |