Delete vehicle offer

Delete vehi­cle offer from vehi­cle exchange

Url parameters and connection settings

  • URL: https://api.platform.trans.eu
  • End­point: /ext/vehicles-api/v1/vehicles/:offerId
  • Method: DELETE

Headers

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

Authorization and access

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.

Example request

DELETE https://api.platform.trans.eu/ext/vehicles-api/v1/vehicles/202588131

Status codes:

  • 204 — vehi­cle delet­ed, no con­tent
  • 404, 422 — vehi­cle not delet­ed — such offerId does not exists