> ## Documentation Index
> Fetch the complete documentation index at: https://docs.occtoo.com/llms.txt
> Use this file to discover all available pages before exploring further.

# deleteAllNotifications

> Clears the signed-in user's feed of every notification whose task is completed, failed, or
cancelled, along with the tasks they point at and the tasks' files.



**mutation** `deleteAllNotifications: DeleteAllNotificationsPayload!`

## Returns

`DeleteAllNotificationsPayload!`

**`deletedExportTasks`**: `Int`

Number of deleted notifications that pointed at an export task

> Deprecated: Use `deletedNotifications` instead

---

**`deletedFiles`**: `Int`

Number of files deleted.

---

**`deletedImportTasks`**: `Int`

Number of deleted notifications that pointed at an import task

> Deprecated: Use `deletedNotifications` instead

---

**`deletedNotifications`**: `Int`

Number of notifications that were deleted

---

**`errors`**: `[DeleteAllNotificationsError!]`

## Examples

```graphql Mutation
mutation DeleteAllNotifications {
  deleteAllNotifications {
    deletedExportTasks
    deletedFiles
    deletedImportTasks
    deletedNotifications
    errors {
      __typename
      ... on GraphQlError {
        code
        details {
          __typename
        }
        message
      }
    }
  }
}
```

```json Response
{
  "data": {
    "deleteAllNotifications": {
      "deletedExportTasks": 1,
      "deletedFiles": 1,
      "deletedImportTasks": 1,
      "deletedNotifications": 1,
      "errors": [
        {
          "__typename": "GraphQlError",
          "code": "string",
          "details": [
            {
              "__typename": "KeyValuePairOfStringAndString"
            }
          ],
          "message": "string"
        }
      ]
    }
  }
}
```


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.