# Delete a sport `DELETE /api/v1/sports/{id}` Deletes a sport from the workspace associated with your API key. The API marks it as deleted and omits it from List and Retrieve. ## Permissions Send your API key in `X-API-Key`. Required permissions are **Sports → Write**. ## Path parameters - `id` (integer, required) — The sport ID returned by [List sports](/api/sports/list.md). Use [Update a sport](/api/sports/update.md) if you want to archive it and keep it available in the archived list. ## Request Set ASDINCLOUD_API_KEY and SPORT_ID to the key and the ID of the sport you intend to delete. ```sh curl --request DELETE \ --url "https://api.asdincloud.com/api/v1/sports/${SPORT_ID:?Set SPORT_ID}" \ --header "X-API-Key: $ASDINCLOUD_API_KEY" ``` ## Response **200 OK** Returns `200 OK` with a `message_key` confirming deletion. A repeat request for the same ID returns `404`. Example with fictional data and selected fields. ```json { "message_key": "entities.sport.messages.deleted" } ``` ## Errors - `401` — The API key is missing or invalid. - `403` — The API key lacks Sports write access. - `404` — The sport was not found. - `400` — The backend could not complete the deletion.