TrackerHub
  1. Device
TrackerHub
  • Docs
    • 01. Project Overview
    • 02. Authentication
    • 03. Error Handling
    • 04. Input Operations
    • 05. GPS Position Workflow
  • API
    • Device Type
      • Device Type
    • Tracker
      • Tracker
      • Tracker
      • Tracker
      • Tracker
    • Device
      • Create Device
        POST
      • List Device
        POST
      • Device
        GET
      • Device
        DELETE
      • Device
        PATCH
    • Position
      • Position
      • Position
      • Position
      • Create Position
      • Position :vendor
      • latest-position
      • latest-positions
      • latest-positions :deviceId
    • Configuration
      • Config
      • Config
      • Config
      • Config
    • Healthcheck
      GET
  1. Device

Device

Production reader
https://api.exati.com.br/tracking/read
Production reader
https://api.exati.com.br/tracking/read
DELETE
/device
Device
This method is responsible for deleting Device, and is only allowed if no other entities are associated with it.

Request

Body Params application/json
idDevice
integer 
required
The Device ID
>= 1
Example
{
    "idDevice": 1
}

Request samples

Shell
JavaScript
Java
Swift
Go
PHP
Python
HTTP
C
C#
Objective-C
Ruby
OCaml
Dart
R
Request Request Example
Shell
JavaScript
Java
Swift
curl --location --request DELETE 'https://api.exati.com.br/tracking/read/device' \
--header 'Content-Type: application/json' \
--data-raw '{
    "idDevice": 1
}'

Responses

🟢200OK
application/json
Example of a Successful response
Body
status
string 
optional
ok
message
string 
optional
Entity processed successfully
Example
{
    "status": "ok",
    "message": "Entity processed successfully"
}
🟠400Bad Request
🟠422Parameter Error
Previous
Device
Next
Device