This request is used to delete a document attached to an Internet Access Account.
| 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. | |
https://api.telecomx.dk/internet/account/1234567890123456890ABCD/document/12345678901234567890AAAA
| JSON object | ||
|---|---|---|
| success | Boolean | True on success |
{ "success": true }
| 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 |