Delete Trailer
Delete an existing trailer from Samsara by its ID.
Operation
Section titled “Operation”deleteTrailer
Resource
Section titled “Resource”trailer
Parameters
Section titled “Parameters”| Parameter | Type | Required | Default | Description |
|---|---|---|---|---|
| Trailer ID | string | Yes | - | The ID of the trailer to delete |
Response
Section titled “Response”Success
Section titled “Success”{ "success": true, "trailerId": "trailer_123", "message": "Trailer deleted successfully"}{ "success": false, "error": "Trailer not found", "trailerId": "invalid_id"}Error Handling
Section titled “Error Handling”- Missing API Token: Samsara credential is missing apiToken
- Trailer Not Found: Trailer with specified ID does not exist
- Permission Denied: API token lacks permission for this operation