> 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/011_documents/030__delete_company_ai_task.md).

# Delete A Company AI Task

GraphQL endpoint: `/company`

Deletes a task and every answer it produced. The answers describe a question that no longer exists, so they are not kept.

## Query

```graphql
mutation ($id: ID!) {
  deleteCompanyAiTask(id: $id) { status }
}

```

## Variables

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

## Response

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