
# Delete a contact submission

Delete one contact form submission.

```sh
DELETE https://sitepaste.com/api/v1/public/sites/{siteId}/contact-submissions/{submissionId}
```

Requires the `data` scope.

## Usage

```bash
curl -X DELETE "https://sitepaste.com/api/v1/public/sites/default/contact-submissions/c8qjx2v7mz4r" \
  -H "Authorization: Bearer $TOKEN"
```

## Authorizations

| Header | Type | Required | Description |
|--------|------|----------|-------------|
| Authorization | string | Yes | Bearer token (`Authorization: Bearer sp_...`). Created in the dashboard under Account > Tokens. See [authentication](/api/authentication). |



## Response

204 No Content on success.

## Errors

| Code | Meaning |
|------|---------|
| 400 | `{submissionId}` is malformed |
| 404 | No submission with that ID on the site |