API & SDKsREST APIUnits

Delete units

DELETE/v2/units
AuthorizationBearer <token>

API key for authentication. Use format: Bearer YOUR_API_KEY

In: header

Query Parameters

serial_numbers*array<>

Array of unit serial numbers to delete.

Response Body

application/json

application/json

application/json

application/json

curl -X DELETE "https://example.com/v2/units?serial_numbers=UNIT-001&serial_numbers=UNIT-002"
{
  "id": [
    "550e8400-e29b-41d4-a716-446655440000",
    "6ba7b810-9dad-11d1-80b4-00c04fd430c8"
  ]
}
{
  "message": "Unauthorized",
  "code": "UNAUTHORIZED",
  "issues": []
}
{
  "message": "Not found",
  "code": "NOT_FOUND",
  "issues": []
}
{
  "message": "Internal server error",
  "code": "INTERNAL_SERVER_ERROR",
  "issues": []
}

How is this guide?