Edit event subscription

This endpoint allows users to update an existing event subscription.

put/v2/event-subscriptions/{subscription_id}

Request

Path parameters

ID of the subscription. Must match the pattern: [a-z0-9]{40}.

Headers

application/json

Request body

eventstring required

Event that should trigger the subscription.

actionstring

Always only "callback"

entity_idstring required

ID of the entity that should trigger the subscription.

Example request

{
  "event": "document.open",
  "action": "callback",
  "entity_id": "2e1fa467c4674e988a0542de8bf2f22cb0498410",
  "attributes": {
    "callback": "https://webhook.site/a0093533-766c-456e-b625-97592745216a"
  }
}

Response

Success, no content

object required

Changes

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