Skip to main content
DELETE
/
subscriptions
/
{external_id}
/
alerts
Delete all subscription alerts
curl --request DELETE \
  --url https://core.nozle.app/api/v1/subscriptions/{external_id}/alerts \
  --header 'Authorization: Bearer <token>'
{
  "status": 401,
  "error": "Unauthorized"
}

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Path Parameters

external_id
string
required

External ID of the existing subscription

Example:

"5eb02857-a71e-4ea2-bcf9-57d3a41bc6ba"

Query Parameters

subscription_status
enum<string>
default:active

Filter by subscription status. When provided, the subscription is looked up with this status instead of the default active status. Possible values are pending, active, terminated, or canceled.

Available options:
pending,
active,
terminated,
canceled
Example:

"active"

Response

All subscription alerts deleted