Skip to main content
npayload is launching soon.
npayloadDocs
API ReferenceDead letter queue

Purge DLQ

Delete all entries from the dead letter queue.

DELETE/v1/subscriptions/{subscriptionId}/dlq

Authorization

ApiKeyAuth
AuthorizationBearer <token>

API key authentication. Keys are prefixed with environment:

  • npk_live_ for production
  • npk_test_ for testing/staging

In: header

Path Parameters

subscriptionId*string

Subscription ID

Response Body

application/json

application/json

curl -X DELETE "https://api.npayload.com/v1/subscriptions/string/dlq"
Empty
{
  "error": {
    "code": "UNAUTHORIZED",
    "message": "Invalid or missing API key"
  }
}
{
  "error": {
    "code": "NOT_FOUND",
    "message": "Resource not found"
  }
}

Was this page helpful?