# Delete a catalogue
URL: https://musicapi.com/docs/reference/recommendations-delete-catalogue.md

`DELETE https://api.musicapi.com/public/recommendations/catalogues/{catalogueId}`

Section: Recommendations.
Product: MusicAPI Core.
Auth: Basic (any one of them). Use Basic with your Client ID and Client Secret from your server only.

Deletes the catalogue, its ISRCs and its file. A recommendation call that names it then answers 404. Needs Client Secret authentication.

## Path parameters

| Name | Type | Required | Description |
| --- | --- | --- | --- |
| `catalogueId` | string | yes | The catalogue id from `POST /public/recommendations/catalogues`. |

## Response 204

Deleted.

## Errors

- 401: No valid credential.
- 403: The request does not use Client Secret authentication.
- 404: `catalogue_not_found`: the catalogue does not exist or is not yours.
- 429: Your account sent more calls this minute than its rate limit allows.

## Example

```bash
curl -X DELETE "https://api.musicapi.com/public/recommendations/catalogues/{catalogueId}" \
  -u "$MUSICAPI_CLIENT_ID:$MUSICAPI_CLIENT_SECRET"
```
