# deleteNotifications

Delete notifications from your feed for good, by id (listNotifications). Only your own; another user's id is skipped. Returns how many were deleted. To clear the badge, mark them read instead.

- Call: `POST https://server.goliathdata.com/api/v1/call` with `{ "operationId": "deleteNotifications", "variables": {...} }`
- Scope: `WRITE`
- Type: mutation
- Idempotency: honors `Idempotency-Key` (24 h)
- Rate-limited: no

## Variables

- `notificationIds`: `[String!]!` (required)

## Response (data, an example)

```json
{
  "notificationMutation": {
    "deleteNotifications": 0
  }
}
```

## Example

```bash
curl https://server.goliathdata.com/api/v1/call \
  -H "Authorization: Bearer $GOLIATH_API_KEY" \
  -H "Content-Type: application/json" \
  -H "Idempotency-Key: $(uuidgen)" \
  -d '{
    "operationId": "deleteNotifications",
    "variables": {
      "notificationIds": [
        "<String>"
      ]
    }
  }'
```
