DELETE api/Devices/Logs
Used to delete the Device Log that matches the input Integer ID
Request Information
URI Parameters
None.
Body Parameters
Information for what Device Log to delete
Device_Log_Delete| Name | Description | Type | Additional information |
|---|---|---|---|
| ID |
ID of the Log to delete |
integer |
None. |
| DeviceType |
The Type of Device the log entry to be deleted is for (Connected or Calculated) |
OwnerType |
None. |
| DeviceID |
ID of the Device this Log belongs to |
integer |
None. |
Request Formats
application/json, text/json, text/html
Sample:
{
"ID": 1,
"DeviceType": 10,
"DeviceID": 2
}
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
Whether or not the delete succeeded
DeleteResponse| Name | Description | Type | Additional information |
|---|---|---|---|
| Success |
Was it successful or not |
boolean |
None. |
| Messages |
Array of messages |
Collection of Message |
None. |
| ServerInformation |
Relevant information regarding the Server |
ServerInformation |
None. |
| VersionInformation |
Relevant information regarding the API's version |
VersionInformation |
None. |
Response Formats
application/json, text/json, text/html
Sample:
{
"Messages": [
{
"Severity": 0,
"MessageCode": 1,
"CodeDesc": 2,
"MessageText": "sample string 3",
"RecordNumber": 4
},
{
"Severity": 0,
"MessageCode": 1,
"CodeDesc": 2,
"MessageText": "sample string 3",
"RecordNumber": 4
}
],
"ServerInformation": {
"CurrentTimeUTC": "2025-11-09T21:30:03.03266+10:00",
"BuildDateUTC": "2025-11-09T21:30:03.03266+10:00"
},
"VersionInformation": {
"Major": 1,
"Minor": 8,
"Hotfix": 0,
"Beta": true,
"Version": "1.8.0.BETA"
},
"Success": true
}