Delete suggestion from saved places

Delete places from your fre­quent­ly used place list using id. Users of ship­per accounts can use the list of ten places they often use. Saved loca­tions can be changed and used for load­ing or unload­ing.

Url parameters and connection settings

  • URL: https://api.platform.trans.eu
  • End­point: /ext/suggestions-api/v1/suggestions/spots/{id}
  • Method: DELETE

Headers:

  • Con­tent-type: application/json
  • Accept: application/json
  • Autho­riza­tion: Bear­er {access_token}
  • Api-key: {unique_app_api_key}

Authorization

Autho­riza­tion process is described here. Each API request must also con­sist of unique Api-key obtained dur­ing appli­ca­tion reg­is­tra­tion togeth­er with client_id and client_secret.

Description

Remov­ing a giv­en place from the list must be done using sug­ges­tion id E.g.

"id": "af44e8d9-9604-48b0-af40-21663431663f"

There are four pos­si­ble answers:

  • 204 — Sug­ges­tion delet­ed suc­cess­fu­ly
  • 422 — Invalid pay­load
  • 404 - Not Found
  • 400 — Bad Request