Remove a favorite sport declaration

The removing of a sport declaration should be call with an user access token.
This access token should contain the scope account:sports.
This scope should be requested to DECATHLON login through their smax offering


This HTTP API is defined like this:

Using CURL

Following an example of call to the get endpoint with curl tools:

curl --request DELETE
  --url https://api-global.preprod.decathlon.net/sports_practices/2
  --header 'Authorization: Bearer <jwt_decathlon_login>
  --header 'x-api-key: <x-api-key>'

Example of response returned by the API

[
  {
    "sport_id": 32
  },
  {
    "sport_id": 2
  }
]