CTRLK

Additional resources

Subscription hierarchy and deletion rules

|

View as Markdown

Subscriptions are part of a system of interconnected components. Understanding this hierarchy helps you avoid configuration errors, manage dependencies, and plan what you can safely delete.



Component hierarchy [#component-hierarchy]


Diagram showing subscriptions as a binding layer between an events pool on the left and a notification profiles pool on the right, with color-coded arrows showing how each subscription selects events and references a notification profile

Subscriptions are the binding layer between two independent pools of resources: events and notification profiles.

  • Events: Independent event types (DELIVERY, INBOUND_MESSAGE, CLICK, and others) that exist at the channel level. A subscription selects one or more events to listen for.
  • Notification profiles: Reusable delivery configurations with a webhook URL and optional authentication settings or certificates. A subscription references exactly one profile.
  • Subscriptions: Each subscription binds selected events to a notification profile, with optional filters to narrow which events trigger notifications. Multiple subscriptions can reference the same event types or share the same notification profile.


Deletion constraints [#deletion-constraints]

You can only delete a component if nothing else depends on it. Delete from the top of the hierarchy down: remove the dependent first (subscription), then the dependency (notification profile, authentication settings, certificate).


ComponentCan delete whenBlocked when
SubscriptionAlways. Subscriptions have no dependents.Never blocked
Notification profileNot referenced by any subscriptionStill linked to one or more subscriptions
Authentication settingsNot referenced by any notification profileStill linked to one or more profiles
CertificateNot assigned to any notification profileStill assigned to one or more profiles

Deletion sequence example [#deletion-sequence]

To fully remove a subscription setup with all its components, delete top-down:


1

Delete the subscription
The notification profile, authentication settings, and certificate remain intact. They are no longer linked to this subscription but may still be used by others.

2

Delete the notification profile
Only possible if no other subscriptions reference it. Once deleted, the authentication settings and certificate become unlinked.

3

Delete the authentication settings
Only possible if no other notification profiles reference them.

4

Delete the certificate
Only possible if no other notification profiles reference it.



For component reuse patterns (shared vs independent setups), see Subscription components.


Best practices [#best-practices]

Plan component reuse

Plan component reuse

Decide upfront which components to share. This reduces configuration overhead and simplifies ongoing management.

Review dependencies

Review dependencies before deleting

Before deleting a notification profile, check if other subscriptions depend on it. Reassign them to a different profile first.

Delete top-down

Delete top-down

Delete subscriptions before profiles, profiles before authentication settings, and authentication settings before certificates.

Use clear naming

Use clear naming

Name notification profiles and authentication settings descriptively so you can identify what each component does and what depends on it.



Related pages

Understanding webhook subscriptions
Core concepts and how subscriptions work.

Manage webhook subscriptions
Create, update, and delete subscriptions.

Manage notification profiles
Configure webhook URLs and delivery settings.

Manage authentication settings
Secure your webhook endpoints with Basic, HMAC, or OAuth.

Manage certificates
Enable mutual TLS for endpoint authentication.