# Delete integration user
URL: https://musicapi.com/docs/reference/delete-integration-user.md

`DELETE https://api.musicapi.com/public/integrations/user/{integrationUserUUID}`

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

Deletes a connected user, for example when they delete their account in your app. Removes the music service tokens, the user's name, email and profile image, and the copy of their library. Idempotent: deleting a user you already deleted returns 204 again. Requires Client Secret authentication, so call it only from your backend.

## Path parameters

| Name | Type | Required | Description |
| --- | --- | --- | --- |
| `integrationUserUUID` | uuid | yes | The connected user: the `integrationUserUUID` from the sign-in callback. |

## Response 204

The user is deleted. The response has no body.

## Errors

- 400: userModelUUID is not a valid UUID.
- 401: The request has no credentials.
- 403: The request does not use Client Secret authentication.
- 404: Your account has no integration user with this UUID.

## Example

```bash
curl -X DELETE "https://api.musicapi.com/public/integrations/user/{integrationUserUUID}" \
  -u "$MUSICAPI_CLIENT_ID:$MUSICAPI_CLIENT_SECRET"
```
