Modify the state of a Terminal Policy

Format

MethodPOST
URL

/tasks/create

Request contentTerminalPolicyAction Object
Successful answerTaskResult Object
Unexpected errorHTTP 500

TerminalPolicyAction Object

Schema

repeatStringReserved
retriesStringNumber of times this task will be retried, in case of error
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

{
    "repeat": "0",    
    "retries": "0",
    "type": "tpolicy_action",
    "terminal_policy_id": "default",
    "action": "deactivate"
}