Skip to content
Sursa Developers

Objects

WebhookUpdate

Fields

  • urlstring | null

    length ≤ 2048

  • descriptionstring | null

    length ≤ 200

  • eventsarray of WebhookEventFilter | null

    items ≥ 1

  • activeboolean | null
  • rolestring | null

    Allowed values: admineditorviewernull

  • data_profile_idinteger | null

    null removes the data profile.

  • collection_idsarray of integer | null

    Collections of the webhook. An empty list means all collections available to the role and the data profile; no value or null leaves them unchanged. A key that is itself restricted to collections sees and changes only webhooks whose collections are in its list (other webhooks return 404 webhooks.not_found). An empty list or a collection outside its list returns 403 webhooks.collections_outside_key.

    items ≤ 200

  • tagsarray of string | null

    items ≤ 50

  • payloadstring | null

    Allowed values: fullthinnull

  • headersarray of WebhookHeaderInput | null

    items ≤ 10

  • authWebhookAuthInput | null

    null removes the outbound authorization.

Used by