User Tools

Site Tools


api:internet:account:deletedocument

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/1234567890123456890ABCD/document/12345678901234567890AAAA

Response

JSON object
success Boolean True on success

Example

{
  "success": true
}

Errors

Error code Message Description
400 bad_request Id not found in request URI
400 bad_request File not found in request URI
403 access_denied Insufficient access level
500 internal_error <Unspecified> - also returned when the account or document id is unknown
api/internet/account/deletedocument.txt · Last modified: by Mikkel Meerwaldt Jørgensen

Donate Powered by PHP Valid HTML5 Valid CSS Driven by DokuWiki