This request is used to replace a defective TCE box with a new one.
| URL | https://api.telecomx.dk/tce/TCE_ID/swap/NEW_TCE_ID | |
|---|---|---|
| Method | GET | |
| Access level | ADMIN | |
| Param | TCE_ID | MAC address of TCE box. |
| NEW_TCE_ID | MAC address of replacement TCE box. | |
https://api.telecomx.dk/tce/123456789012/swap/345678909876
| JSON object | |
|---|---|
| success | True on success |
{ success: true }
| Error code | Message | Description |
|---|---|---|
| 403 | access_denied | Insufficient access level |
| 404 | id | Id not found |
| 409 | newid | New MAC address is already in use |
| 404 | newid | New MAC address is invalid |
| 500 | internal_error | <Unspecified> |