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.
| 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 |
DELETE https://api.telecomx.dk/roaming/region/650000000000000000000001
| JSON Object | ||
|---|---|---|
| success | Boolean | Always true |
{ "success": true }
| 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> |