# Permanently Delete User Documents

GraphQL endpoint: `/user`

Removes documents from the calling user's trash for good, deleting the stored files as well. Only documents already in the trash can be deleted this way.

## Query

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

```

## Variables

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

## Response

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