Deactivate a Webhook Subscription
Deactivates a specific webhook subscription identified by its id. This operation performs a soft delete, meaning the subscriptionβs status is updated to is_active = false and deleted_at is set to the current timestamp. The subscription will cease to receive new webhook events.
Key Considerations:
- Ownership: Only the bank account that originally created the subscription can deactivate it.
- Security: Attempts by unauthorized accounts to deactivate a subscription will result in a
404 Not Foundresponse to prevent enumeration of existing resources. - Idempotency: Deactivating an already inactive subscription will also return a
404 Not Found.
Authorization: Requires the ManageWebhooks permission.
Authorizations
UUID of the service account (e.g., 550e8400-e29b-41d4-a716-446655440000)
Unix timestamp in milliseconds (e.g., 1704636800000). Must be within 5 minutes of server time.
Must be 'service-account' for service account authentication
EdDSA signature of the request in base64 format. Signs: uri:method:body:timestamp
Path Parameters
Webhook subscription ID to delete
Response
Webhook subscription deleted successfully
