api:roaming:region:delete
Table of Contents
API : Roaming : Region Delete
Introduction
This request will delete a single region. The region is removed from all MVNO_RATEPLAN products' roaming subscriptions and from the other regions' outbound call prices. A region that is used by existing destinations cannot be deleted.
Request
| URL | https://api.telecomx.dk/roaming/region/REGION_ID | |
|---|---|---|
| Method | DELETE | |
| Access level | RESELLER_ADMIN with FINANCE feature, or ADMIN. | |
| Params | REGION_ID | ID of region |
Query examples
DELETE https://api.telecomx.dk/roaming/region/650000000000000000000001
Response
| JSON Object | ||
|---|---|---|
| success | Boolean | Always true |
Example
{ "success": true }
Errors
| Error code | Message | Description |
|---|---|---|
| 403 | access_denied | A minimum access level of 'RESELLER_ADMIN' required |
| 403 | access_denied | Employees does not have the required feature FINANCE |
| 404 | id | Not found |
| 404 | destinations | The region is in use by <number> existing destinations |
| 500 | internal_error | <Unspecified> |
api/roaming/region/delete.txt · Last modified: by Mikkel Meerwaldt Jørgensen