Notification Policies

Remove a recipient from a policy

Delete a recipient from an existing Notification Policy.

delete/notifications/policies/{id}/recipients/{recipient}

Request

  • Base URL
    https://dev.seqhq.io/api
  • URL
    https://dev.seqhq.io/api/notifications/policies/{id}/recipients/{recipient}
  • Auth
    none required

Path parameters

idstring required

Notification policy ID

recipientstring required

The webhook URL or email address to remove from the policy

Headers

Authorizationstring required

Your API credentials. Eg. Basic {credentials}.

sequence-version'2024-07-30'

Use this header to select an API version

Response

OK

idstring required

Unique ID

createdAtstring required

Created at

sequenceAccountIdstring required

Sequence Account which this policy matches

namestring required

Human-readable name

notificationTypesNotificationType[]

Set of notification types that this policy matches. If not present this policy will cover all notification types.

recipientsstring[] required

The webhook URLs or email addresses which will receive notifications, depending on the channel

channel'WEBHOOK' | 'EMAIL' required
webhookSecretstring

Webhook secret used to generate a signature header that's sent with an outbound webhook.It can be used to verify the authenticity of received Sequence webhooks. Only available for webhook channel policies.

Example response

{
  "id": "9c4c54e7-59da-44ae-9cc5-7fd81be7c133",
  "createdAt": "2022-06-28T16:47:00Z",
  "sequenceAccountId": "c4602d51-0fb4-4b48-b689-6ba28f540d1e",
  "name": "Finance team emails",
  "notificationTypes": [
    "CUSTOMER_CREATED"
  ],
  "recipients": [
    "finance@example.com",
    "operations@example.com"
  ],
  "channel": "EMAIL"
}

Changes

No recorded changes to this operation across all 1 revision of this API.