Modify the state of a Terminal Policy

Format

MethodPOST
URL

/tasks/create

Request contentTerminalPolicyAction Object
Successful answerTaskResult Object
Unexpected errorHTTP 500

TerminalPolicyAction Object

Schema

typeStringTask type identifier. In this case, "tpolicy_action"
terminal_policy_idStringUnique identifier of the Terminal Policy to modify
actionStringOne of "activate" or "deactivate"

JSON example

{
    "type": "tpolicy_action",
    "terminal_policy_id": "default",
    "action": "deactivate"
}

 

Â