Deactivate a webhook
Disable webhook deliveries without archiving the endpoint.
Required permissions: notification_endpoint:update.
Authentication
AuthorizationBearer
Bearer authentication of the form Bearer <token>, where token is your auth token.
Path parameters
notification_endpoint_id
The ID of the webhook endpoint.
Headers
X-Penny-As-Business
Act on behalf of another business that has granted you access. Requires the business:act_as permission.
Query parameters
reveal_sensitive
Whether to include unmasked sensitive fields in the response. Defaults to false.
Response
The deactivated webhook.
notification_endpoint_id
Penny's unique identifier for this endpoint.
version
A number that increases each time this endpoint's details change. Use it to confirm you are looking at the latest information.
version_time
The date and time this endpoint's details were last changed.
business_id
The business this endpoint belongs to.
status
This endpoint’s current status: ‘pending_setup’, ‘setup_failed’, ‘pending_verification’, ‘verification_failed’, ‘updating’, ‘active’, ‘deactivated’, ‘suspended’, or ‘archived’.
enabled
Whether this endpoint currently receives deliveries.
updating
Whether this endpoint is currently being updated.
archived
Whether this endpoint has been permanently retired.
created_time
When this endpoint was registered.
verification
The ownership-verification state of this endpoint.
suspension
Whether this endpoint is currently suspended, and why.
channel
The delivery channel for this endpoint.
Allowed values:
url
The HTTPS URL event payloads are delivered to. Shown as a masked placeholder unless the request explicitly asks to reveal sensitive values.
has_authentication_token
Whether a bearer authentication token is configured. The token is write-only and is never returned.
has_signing_secret
Whether a signing secret is configured. The secret is returned only when created or rotated.
trigger_events
The events this endpoint is subscribed to.
filter_identifiers
The specific objects this endpoint's subscription is scoped to, if any. Empty means it receives events for every object.
Errors
400
Bad Request Error
401
Unauthorized Error
403
Forbidden Error
404
Not Found Error
422
Unprocessable Entity Error
429
Too Many Requests Error
500
Internal Server Error