# Delete lead form

> Delete a form; its page stops answering at once.

Source: https://docs.mycrmsim.com/docs/lead-forms/delete-lead-form

```http
DELETE https://backend.mysmsgateway.app/api/v1/ext/lead-forms/{id}
```

- Category: myCRMSIM Lead Forms / Lead Forms
- Auth: Bearer access token
- Scope: `lead_forms.write`

Submissions already received stay with the contacts they created.

## Parameters

| Name | In | Type | Required | Description |
| --- | --- | --- | --- | --- |
| `id` | path | number | yes | The form id. Example: `31` |

## Response 200

OK

```json
{
  "success": true,
  "message": "Form deleted",
  "data": {
    "id": 31
  }
}
```

## Response 401

Missing or invalid token

```json
{
  "success": false,
  "message": "Invalid or expired access token."
}
```

## Response 403

Missing scope

```json
{
  "success": false,
  "message": "Missing scope(s): lead_forms.write. This integration was granted: …"
}
```

## Response 404

Form does not exist or is not the installer's (same response for both)

```json
{
  "success": false,
  "message": "Form not found or not accessible to this token"
}
```
