Locations API - V2
Remove favourite location
Removes a location from the customer's favourites. Locations that are not visible to the user can also be removed.
Endpoint
DELETE - https://api.travisroadservices.com/v2/locations/{id}/favourite
Copy
Path params
| Parameter | Type | Description |
|---|---|---|
id
|
string | The ID of the location to be removed from favourites. |
Request body
No request bodyResponse body
Response 204
FavouriteResource resource deleted
No response bodyResponse 401
No response body - No bearer token set verify if your token is added as bearer tokenResponse 403
No response body - You don't have access to this API resourceResponse 404
Not found
Fields
| Field | Type | Description |
|---|---|---|
title
|
string | A short, human-readable summary of the problem. |
detail
|
string | A human-readable explanation specific to this occurrence of the problem. |
status
|
number | The HTTP status code applicable to this problem. |
instance
|
string | A URI reference that identifies the specific occurrence of the problem. It may or may not yield further information if dereferenced. |
type
|
string | A URI reference that identifies the problem type |
Example