Table of Contents

API : Internet Access Account - Delete Document

Introduction

This request is used to delete a document attached to an Internet Access Account.

Request

URL https://api.telecomx.dk/internet/account/ACCOUNTID/document/DOCUMENTID
Method DELETE
Access level MANAGER or OWNER if user belongs to the customer.
RESELLER if customer belongs to the reseller or a sub reseller.
RESELLER_ADMIN
ADMIN.
Params ACCOUNTID Id of the Internet Access account.
DOCUMENTID Id of the document to delete.

Request example

https://api.telecomx.dk/internet/account/650000000000000000000001/document/12345678901234567890AAAA

Response

JSON object
success Boolean True on success

Example

{
  "success": true
}

Errors

Error code Message Description
422 <property> Invalid input for the named property - the request body, query or URL parameter failed validation
404 id Not found - no such account/document combination
403 access_denied Insufficient access level
500 internal_error <Unspecified>