# Delete a list `DELETE /api/v1/lists/{id}` `POST /api/v1/lists/{id}/delete` Removes a contact list. ## Permissions Send your API key in `X-API-Key`. Required permissions are **Lists → Write**. ## Headers - `X-Sport-Id` (integer, required) — The sport ID from [List sports](/api/sports/list.md). Use the sport the record belongs to. ## Path parameters - `id` (integer, required) — ID of the list. ## Request (DELETE) Set ASDINCLOUD_API_KEY and any variables named in the example before running it. ```sh curl --request DELETE \ --url "https://api.asdincloud.com/api/v1/lists/${ID:?Set ID}" \ --header "X-API-Key: $ASDINCLOUD_API_KEY" \ --header "X-Sport-Id: ${SPORT_ID:?Set SPORT_ID}" ``` ## Request (POST) Set ASDINCLOUD_API_KEY and any variables named in the example before running it. ```sh curl --request POST \ --url "https://api.asdincloud.com/api/v1/lists/${ID:?Set ID}/delete" \ --header "X-API-Key: $ASDINCLOUD_API_KEY" \ --header "X-Sport-Id: ${SPORT_ID:?Set SPORT_ID}" ``` ## Response **200 OK** Returns a successful removal response. Example with fictional data and selected fields. ```json { "message_key": "entities.list.messages.deleted" } ``` ## Errors - `401` — The API key is missing or invalid. - `403` — The API key lacks the required permission. - `404` — The requested record was not found. - `400` — The list could not be removed.