Format
Method | POST |
---|---|
URL | /tasks/create |
Request content | TerminalPolicyAction Object |
Successful answer | TaskResult Object |
Unexpected error | HTTP 500 |
TerminalPolicyAction Object
Schema
repeat | String | Reserved |
---|---|---|
retries | String | Number of times this task will be retried, in case of error |
type | String | Task type identifier. In this case, "tpolicy_action" |
terminal_policy_id | String | Unique identifier of the Terminal Policy to modify |
action | String | One of "activate" or "deactivate" |
JSON example
{ "repeat": "0", "retries": "0", "type": "tpolicy_action", "terminal_policy_id": "default", "action": "deactivate" }