API documentation

Delete a car

DELETE /api/cars

Include access_token in HTTP header:

Authorization: Bearer 09ba487fc3df...

Description

This web service removes a car from the users cars list.

REQUEST PARAMETERS

Parameter name Parameter type Description
plate_number string plate number of the new car
{
"plate_number" :"BN88TITUS"
}

Response

Status Code: 204 if OK

Status Code: 404 if car or relationship between user and car does not exist

Status Code: 401 if request not ok