Delete places from your frequently used place list using id. Users of shipper accounts can use the list of ten places they often use. Saved locations can be changed and used for loading or unloading.
Url parameters and connection settings
- URL: https://api.platform.trans.eu
- Endpoint: /ext/suggestions-api/v1/suggestions/spots/{id}
- Method: DELETE
Headers:
- Content-type: application/json
- Accept: application/json
- Authorization: Bearer {access_token}
- Api-key: {unique_app_api_key}
Authorization
Authorization process is described here. Each API request must also consist of unique Api-key obtained during application registration together with client_id and client_secret.
Description
Removing a given place from the list must be done using suggestion id E.g.
"id": "af44e8d9-9604-48b0-af40-21663431663f"
There are four possible answers:
- 204 — Suggestion deleted successfuly
- 422 — Invalid payload
- 404 - Not Found
- 400 — Bad Request