> ## Documentation Index
> Fetch the complete documentation index at: https://docs.partnero.com/llms.txt
> Use this file to discover all available pages before exploring further.

# Delete referral link

> Delete a referral link

## Endpoint

```
DELETE https://api.partnero.com/v1/partner_referral_links/{id}
```

## Path Parameters

| Parameter | Type   | Required | Description       |
| --------- | ------ | -------- | ----------------- |
| `id`      | string | Yes      | Link ID to delete |

## Request

```bash cURL theme={null}
curl --location --request DELETE 'https://api.partnero.com/v1/partner_referral_links/ref_789' \
  --header 'Authorization: Bearer YOUR_API_KEY'
```

## Response

<ResponseExample>
  ```json 200 OK theme={null}
  {
    "status": 1
  }
  ```
</ResponseExample>

<Warning>
  You cannot delete a partner's default referral link. Assign a new default first.
</Warning>
