Skip to main content
DELETE
/
api
/
v1
/
notifications
curl --request DELETE \
  --url https://mcp.echozero.app/api/v1/notifications \
  --header 'Content-Type: application/json' \
  --header 'x-api-key: <api-key>' \
  --data '
{
  "ids": [
    "507f1f77bcf86cd799439011"
  ]
}
'
{
  "success": true,
  "data": true
}

Authorizations

x-api-key
string
header
required

Headers

x-signature
string

HMAC-SHA256 signature: HMAC-SHA256(secretKey, timestamp + METHOD + path + body). Optional -- when omitted, HMAC verification is skipped.

x-timestamp
string

Request timestamp in epoch milliseconds. Required when x-signature is provided. Rejected if drift exceeds 5 minutes.

Body

application/json

OpenAPI: McpNotificationIdsBodyDto. GraphQL: FindByIdsArgs.

ids
string[]
required

MongoDB notification document ids

Example:
["507f1f77bcf86cd799439011"]

Response

Delete acknowledged.

success
boolean
required
Example:

true

data
boolean
required

Operation result