v1

latestOpenAPI 3.0.0Apache 2.02026-07-143281,4552.1 MB
Terminal

DismissTerminalAction

Dismisses a Terminal action request if the status and type of the request permits it.

See Link and Dismiss Actions for more details.

post/v2/terminals/actions/{action_id}/dismiss

Path parameters

action_idstring required

Unique ID for the TerminalAction associated with the action to be dismissed.

Response

Success

Example response

{
  "action": {
    "app_id": "APP_ID",
    "await_next_action": true,
    "await_next_action_duration": "PT5M",
    "confirmation_options": {
      "agree_button_text": "Agree",
      "body": "I agree to receive promotional emails about future events and activities.",
      "decision": {
        "has_agreed": true
      },
      "disagree_button_text": "Decline",
      "title": "Marketing communications"
    },
    "created_at": "2021-07-28T23:22:07.476Z",
    "deadline_duration": "PT5M",
    "device_id": "DEVICE_ID",
    "id": "termapia:abcdefg1234567",
    "status": "COMPLETED",
    "type": "CONFIRMATION",
    "updated_at": "2021-07-28T23:22:29.511Z"
  }
}