> For the complete documentation index, see [llms.txt](https://docs.tnid.com/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.tnid.com/api-reference/002_company/013_forms/005__delete_form.md).

# Delete Form

GraphQL endpoint: `/company`

Deletes one of the current company's forms, along with its versions. Returns an OK status on success.

## Query

```graphql
mutation ($formId: ID!) {
  deleteForm(formId: $formId) {
    status
  }
}

```

## Variables

```json
{
  "formId": "00000000-0000-4000-8000-000000000001"
}
```

## Response

```json
{
  "data": {
    "deleteForm": {
      "status": "OK"
    }
  }
}
```
