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

# Revoke Share Link

> Revoke the campaign's public view-in-browser link

Revoke the campaign's public share link. The hosted URL returns 404 immediately. Creating a new link later mints a different URL - previously distributed copies stay dead.

Returns `revoked: false` when the campaign had no active link, which is not an error.

## Request

<ParamField path="campaignId" type="string" required>
  Campaign ID.
</ParamField>

This endpoint does not accept a request body.

```bash theme={null}
curl -X DELETE "https://api.sequenzy.com/api/v1/campaigns/camp_abc123/share-link" \
  -H "Authorization: Bearer YOUR_API_KEY"
```

## Responses

<ResponseExample>
  ```json 200 theme={null}
  {
    "success": true,
    "revoked": true
  }
  ```

  ```json 401 theme={null}
  {
    "error": "Invalid API key"
  }
  ```

  ```json 404 theme={null}
  {
    "error": "Campaign not found"
  }
  ```
</ResponseExample>
