> ## 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.

# Delete Popup

> Permanently delete a saved popup

Permanently delete a saved popup along with its view and conversion counts.
Subscribers it already captured are not affected.

To stop a popup from showing while keeping its stats, set its status to `draft`
with [Update Popup](/api-reference/widgets/update-popup) instead.

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

## Responses

<ResponseExample>
  ```json 200 theme={null}
  {
    "success": true,
    "popupId": "pop_123",
    "message": "Popup deleted. Remove its embed script from the site - the script now does nothing."
  }
  ```

  ```json 401 theme={null}
  {
    "error": "Missing API key. Provide via x-api-key header or Authorization: Bearer <key>"
  }
  ```

  ```json 403 theme={null}
  { "error": "API key is missing required scope: widgets:delete" }
  ```

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