---
title: "This endpoint clears a user notification with its code."
method: GET
path: "/user/notification/clear"
---

# This endpoint clears a user notification with its code.

`GET /user/notification/clear`

This endpoint clears a user notification with its code. Current notifications codes can be retreive from the /user endpoint.

## Query parameters

- `apikey` string
- `agent` string, required
- `code` string, required

## Response `200`

This endpoint retrieves a complete list of all available hosts for this user

- object
  - `status` string
  - `data` object
    - `message` string
  - `error` object
    - `code` string
    - `message` string

---

[API](https://skmtc.dev/alldebrid/apis/alldebrid-api.md) · [All operations](https://skmtc.dev/alldebrid/apis/alldebrid-api/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/alldebrid/alldebrid-api/revisions/4856488e3924/schema)
