api:internet:account:deletedocument
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. 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 |
| 404 | not_found | Account not found |
| 404 | document | Document not found |
| 500 | internal_error | File not found in database |
| 500 | internal_error | <unspecified> |
api/internet/account/deletedocument.txt · Last modified: 2016/05/31 06:15 by Per Møller