Vehicles
Soft-delete a vehicle
Marks the vehicle as deleted by stamping deleted_at with the server clock. The row stays in the database; subsequent GET/PATCH/DELETE all 404.
Returns the deleted resource (200) rather than 204 No Content so the response shape is consistent across the API and the mobile UI can render an undo banner with the timestamp.
delete/v1/vehicles/{id}
Request
- Base URL: https://api.officina.it
- URL: https://api.officina.it/v1/vehicles/{id}
- Auth: HTTP bearer
Response
Vehicle soft-deleted. deleted_at is populated.
Example response
{
"id": "2200ab13-7c48-4d52-b6e9-0a4f81c27d3e",
"documents": [
{
"url": "/v1/vehicles/8821f0ac-5d2b-41e7-9a10-6c3f2b7d4e55/documents/3b91ee0c-19b4-4f0a-9c2e-7d51a0c88e14/download"
}
]
}Changes
No recorded changes to this operation across all 1 revision of this API.