Modify the state of a Terminal Policy
Format
Method | POST |
---|---|
URL | /tasks/create |
Request content | TerminalPolicyAction Object |
Successful answer | TaskResult Object |
Unexpected error | HTTP 500 |
TerminalPolicyAction Object
Schema
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
{ "type": "tpolicy_action", "terminal_policy_id": "default", "action": "deactivate" }
Â
Â