api:networkmanagement:devicemodel:delete
Table of Contents
API : Network Device Model Delete
Introduction
This request will delete a network device model. A model that is still used by network devices cannot be deleted.
Request
| URL | https://api.telecomx.dk/network/device/model/MODEL_ID | ||
|---|---|---|---|
| Method | DELETE | ||
| Access level | RESELLER_ADMIN or ADMIN. | ||
| Params | MODEL_ID | Id of the Network device model to delete. | |
Query examples
DELETE https://api.telecomx.dk/network/device/model/12345678901234567890AAAA
Response
| JSON object | ||
|---|---|---|
| success | Boolean | True on success |
Example
{ "success": true }
Errors
| Error code | Message | Description |
|---|---|---|
| 403 | access_denied | Insufficient access level |
| 404 | not_found | Network device model not found |
| 409 | devices | The model is in use by network devices and cannot be deleted. |
| 422 | id | Id is not a valid model id. |
| 500 | internal_error | <Unspecified> |
api/networkmanagement/devicemodel/delete.txt · Last modified: by Mikkel Meerwaldt Jørgensen