Skip to content
payrocdevelopers

Delete event subscription

Browse API reference

DELETE/event-subscriptions/{subscriptionId}deleteEventSubscription

Use this method to delete an event subscription.

Important: After you delete an event subscription, you can’t recover it. You won't receive event notifications from the event subscription.

To delete an event subscription, you need its subscriptionId. Our gateway returned the subscriptionId in the response of the Create Event Subscription method.

If you want to stop receiving event notifications but don't want to delete the event subscription, use our Update Event Subscription method to deactivate it.

Parameters

NameInTypeDescription
subscriptionIdRequiredpathinteger

Unique identifier that we assigned to the event subscription.
Note: Our gateway returned the subscriptionId in the id field in the response of the Create Event Subscription method.

Responses

Successful request. We deleted the event subscription.

No response body — a 204 means the action took effect.

Used in workflows

Search documentation

API reference169
Guides118
Knowledge38
legal1
Solutions32
Workflows74
↑↓highlight↵openView all search results

Menu

Theme

Sign out

Your saved plans remain in your organization. This browser’s private draft and account view will be cleared.

Talk to an engineer