Skip to main content
POST
/
api
/
rentals
/
{id}
/
complete
curl -X POST https://api.drivex.com/api/rentals/789/complete \
  -H "Authorization: Bearer YOUR_API_KEY"
Marks a rental as completed by updating its status to COMPLETED. This is typically called when a vehicle has been returned and the rental period has ended.

Path Parameters

id
long
required
The unique identifier of the rental to complete

Response

Returns 204 No Content on successful completion.
curl -X POST https://api.drivex.com/api/rentals/789/complete \
  -H "Authorization: Bearer YOUR_API_KEY"

Build docs developers (and LLMs) love