This method allows you to delete freight in draft status by FreightID.
Authorization and access
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.
Url parameters and connection settings
- URL: https://api.platform.trans.eu
- Endpoint: /ext/freights-api/v1/freights/{FeightID}
- Http Method: DELETE
Headers
- Accept: application/json
- Content-type: application/json
- Authorization: Bearer {access_token}
- Api-key: {unique_app_api-key}
Example request
curl --location --request DELETE 'https://api.platform.trans.eu/ext/freights-api/v1/freights/276601090' \
Example response
HTTP 204 No Content