# Delete referral

`DELETE https://api.nexus.gg/v1/referrals/{referralId}`

This is a soft delete: the referral is flagged `deleted` rather than removed. If the deleted referral had counted toward a bounty objective's current progress, that count is rolled back and the objective is reopened. Progress the bounty has already moved past is left alone.

## Authorizations

- `X-SHARED-SECRET` (string, header, required) - Send your **secret** API key (`nexus_sk_...`) in the `X-SHARED-SECRET` header. [Generate one](/authentication/api-keys/) in the Publisher Dashboard.

## Query parameters

- `groupId` (string) - Creator group to use for this operation. If you are using a program-scoped key, that key's group is always used regardless of this value. Otherwise, this falls back to your default group when omitted.

## Path parameters

- `referralId` (string, required) - ID of referral to delete

## Responses

### 200

Referral deleted successfully

### 404

Referral not found
