Deletes a network device.
DELETE/network/devices/:id
This endpoint removes a network device from the system by its unique identifier.
Path Parameters
id(integer): The unique identifier of the network device.
Responses
- 200 OK: Successfully deleted the network device.
- 404 Not Found: The network device does not exist.
- 500 Internal Server Error: Unexpected server error.
Request
Path Parameters
Unique identifier of the network device
Responses
- 200
- 404
- 500
Successfully deleted the network device.
- application/json
- Schema
- Example (from schema)
Schema
bandwidth
object
nullable
Represents bandwidth details for a network device
Download bandwidth in Mbps.
Upload bandwidth in Mbps.
The unique identifier of the network device.
The IP address of the network device.
The latency in milliseconds (optional).
The name of the network device.
The packet loss percentage (optional).
Possible values: [online, offline, degraded, maintenance, error, unspecified]
Represents the status of a network device
This enum describes the current operational state of a network device. The status can indicate whether the device is operational, undergoing maintenance, or experiencing issues.
Possible values: [router, switch, accessPoint, firewall]
Represents the type of a network device
This enum describes the different types of network devices that can exist in a network. Each type has its own role and functionality within the network infrastructure.
{
"bandwidth": {
"downloadMbps": 0,
"uploadMbps": 0
},
"id": 0,
"ip": "string",
"latencyMs": 0,
"name": "string",
"packetLossPercentage": 0,
"status": "online",
"type": "router"
}
Not Found - Network device does not exist.
- application/json
- Schema
- Example (from schema)
Schema
- MOD1
- MOD2
- MOD3
- MOD4
- MOD5
- MOD6
- MOD7
- MOD8
- MOD9
- MOD10
- MOD11
- MOD12
- MOD13
- MOD14
- MOD15
- MOD16
oneOf
Possible values: [ClientError]
Possible values: [InternetConnectionError]
Possible values: [UnauthorizedError]
Possible values: [InternalServerError]
Possible values: [MissingDataError]
Possible values: [ParsingFailedError]
Possible values: [WritingDataError]
Possible values: [ForbiddenError]
Possible values: [NotAllowedError]
Possible values: [ValidationError]
Possible values: [SQLError]
Possible values: [StorageLimitExceededError]
Possible values: [StorageUnavailable]
Possible values: [ConflictError]
Possible values: [MatomoError]
Possible values: [ProcessInterrupted]
{}
Internal Server Error - Unexpected issue occurred.
- application/json
- Schema
- Example (from schema)
Schema
- MOD1
- MOD2
- MOD3
- MOD4
- MOD5
- MOD6
- MOD7
- MOD8
- MOD9
- MOD10
- MOD11
- MOD12
- MOD13
- MOD14
- MOD15
- MOD16
oneOf
Possible values: [ClientError]
Possible values: [InternetConnectionError]
Possible values: [UnauthorizedError]
Possible values: [InternalServerError]
Possible values: [MissingDataError]
Possible values: [ParsingFailedError]
Possible values: [WritingDataError]
Possible values: [ForbiddenError]
Possible values: [NotAllowedError]
Possible values: [ValidationError]
Possible values: [SQLError]
Possible values: [StorageLimitExceededError]
Possible values: [StorageUnavailable]
Possible values: [ConflictError]
Possible values: [MatomoError]
Possible values: [ProcessInterrupted]
{}