api:destination:delete
Table of Contents
API : Destination Delete
Introduction
This request will delete the specified destination. Any price overrides referring to the destination on SIP/MVNO rateplan products are removed as well.
Request
| URL | https://api.telecomx.dk/destination/COUNTRY_CODE | |
|---|---|---|
| Method | DELETE | |
| Access level | RESELLER_ADMIN with FINANCE feature, or ADMIN. | |
| Param | COUNTRY_CODE | Country code of the destination, e.g. 'DK' |
Query example
DELETE https://api.telecomx.dk/destination/DK
Response
| Json object | ||
|---|---|---|
| success | Boolean | True on success |
Example
{ "success": true }
Errors
| Error code | Message | Description |
|---|---|---|
| 422 | id | Country code is not valid |
| 404 | not_found | Destination not found |
| 403 | access_denied | Insufficient access level |
| 500 | internal_error | <Unspecified> |
api/destination/delete.txt · Last modified: by Mikkel Meerwaldt Jørgensen