Register or unregister a Terminal from a Terminal Policy

Format

MethodPOST
URL

/tasks/create

Request contentTerminalPolicyRegister Object
Sucessful answerTaskResult Object
Unexpected errorHTTP 500

TerminalPolicyRegister Object

Schema

typeStringTask type identifier. In this case, "tpolicy_action"
terminal_policy_idStringUnique identifier of the Terminal Policy to modify
actionStringOne of "register,$TERMINAL_ID" or "unregister,$TERMINAL_ID"

JSON example

{
    "type": "tpolicy_action",
    "terminal_policy_id": "default",
    "action": "register,3f1b622852e09f4c"
}