api:porting:delete-document
Table of Contents
API : Porting Delete Document
Introduction
This request will delete a specific porting document.
Request
| URL | https://api.telecomx.dk/porting/PORTING-ID/document/FILE-ID | |
|---|---|---|
| Method | DELETE | |
| Access level | OWNER, RESELLER, RESELLER_ADMIN with PORTING feature or ADMIN. | |
| Param | PORTING-ID | Id of the porting. |
| FILE-ID | Id of the document to delete. | |
Query example
DELETE https://api.telecomx.dk/porting/12345678901234567890ABCD/document/12345678901234567890AAAA
Response
| Property | Type | Description |
|---|---|---|
| success | Boolean | True on success. |
Example
{ success: true }
Errors
| Error code | Message | Description |
|---|---|---|
| 404 | file | File not found |
| 403 | stage | Porting is not at the right stage to allow documents to be deleted |
| 403 | access_denied | Insufficient access level |
| 500 | internal_error | <Unspecified> |
api/porting/delete-document.txt · Last modified: 2026/05/21 20:11 by Per Møller