DELETE api/Devices/Logs

Delete a specific log for a Device based on the provided data

Request Information

URI Parameters

None.

Body Parameters

Information for what Device Log to delete

DeviceLog_Delete
NameDescriptionTypeAdditional information
ID

ID of the Log to delete

integer

None.

DeviceID

ID of the Device this Log belongs to

integer

None.

Request Formats

application/json, text/json, text/html

Sample:
{
  "ID": 1,
  "DeviceID": 2
}

application/x-www-form-urlencoded

Sample:

Failed to generate the sample for media type 'application/x-www-form-urlencoded'. Cannot use formatter 'JQueryMvcFormUrlEncodedFormatter' to write type 'DeviceLog_Delete'.

Response Information

Resource Description

Details on whether or not the deletion was successful

DeleteResponse
NameDescriptionTypeAdditional 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": "2026-01-09T23:48:34.4393365+10:00",
    "BuildDateUTC": "2026-01-09T23:48:34.4393365+10:00"
  },
  "VersionInformation": {
    "Major": 1,
    "Minor": 8,
    "Hotfix": 0,
    "Beta": true,
    "Version": "1.8.0.BETA"
  },
  "Success": true
}