This API endpoint allows you to delete an interchange for a specific truck visit.
| Code | Description |
|---|---|
| 404 | Not found. |
| 422 | Unprocessable Entity. |
| 500 | Internal Server Error. |
| 409 | Entity conflict. |
curl "https://app.octopi.co/api/v1/truck_visits/123/interchanges/353388.json" -X DELETE -H "Accept: application/json" -H "Content-Type: application/json" -H "Authorization: Token token=YOUR TOKEN HERE"
{
"id": 353388
}
| Param name | Description |
|---|---|
|
id required |
Interchange ID. Validations:
|
|
truck_visit_id required |
Truck visit ID. Validations:
|