> 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/009__delete_company_documents.md).

# Delete Company Documents

GraphQL endpoint: `/company`

Moves documents to the calling company's trash. They stay recoverable with restoreCompanyDocuments until the trash is emptied or they are permanently deleted.

## Query

```graphql
mutation ($ids: [ID!]!) {
  deleteCompanyDocuments(ids: $ids) {
    status
    count
  }
}

```

## Variables

```json
{
  "ids": [
    "00000000-0000-4000-8000-000000000001",
    "00000000-0000-4000-8000-000000000002"
  ]
}
```

## Response

```json
{
  "data": {
    "deleteCompanyDocuments": {
      "count": 2,
      "status": "OK"
    }
  }
}
```
