Table of Contents

API : IPTV : Device : Delete Action

Introduction

This request removes a queued action from an STB or Android (tablet) device before the device has performed it.

Removing an action that no longer exists in the queue is not an error, the request still succeeds. Device types other than STB and ANDROID also return success without doing anything.

Request

URL https://api.telecomx.dk/iptv/device/DEVICE_ID/action/ACTION_ID
Method DELETE
Access level MANAGER, OWNER, RESELLER, RESELLER_ADMIN or ADMIN if the customer has feature IPTVBUSINESS
RESELLER, RESELLER_ADMIN or ADMIN if the customer only has feature IPTVPRIVATE
Android (tablet) devices always require the customer to have IPTVBUSINESS
Params DEVICE_ID Id Id of the device the action was queued on.
ACTION_ID Id Id of the action to remove. For STB devices this is the id of the queued request, for Android devices it is the _id returned when the app action was created.

Query examples

https://api.telecomx.dk/iptv/device/12345678901234567890AAAA/action/12345678901234567890ABCD

Response

JSON object
success Boolean True on success.
id Id Id of the removed action. Only present for STB devices.

Example

STB device:

{
  success: true,
  id: "12345678901234567890ABCD"
}

Android (tablet) device:

{
  success: true
}

Errors

Error code Message Description
403 access_denied DEVICE_ID or ACTION_ID is not a valid Id
403 access_denied Insufficient access level, the customer does not have the required feature, or the customer is not under the reseller
404 not_found Device not found
500 internal_error <Unspecified>