Webhooks

Replaces a webhook subscription's configuration.

Requires Admin. Omitted lists become empty, which means "all". Re-enabling a subscription that is over the plan's webhook allowance (after a downgrade) is a 403 plan_limit_reached.

put/api/v1/orgs/{org}/webhooks/{id}

Request

  • Base URL: https://api.featureflip.io
  • URL: https://api.featureflip.io/api/v1/orgs/{org}/webhooks/{id}
  • Auth: API key in header Authorization

Path parameters

orgstring required
idstring required

Headers

If-Matchstring

Optional. The ETag from a GET of this resource. The write applies only if the resource still has that ETag, meaning nothing in its body has changed since; otherwise 412 precondition_failed. * or no header applies the write unconditionally.

Request body

namestring nullable required
urlstring nullable required
eventTypesstring[] nullable
projectIdsstring[] nullable
environmentIdsstring[] nullable
isEnabledboolean nullable

Response

No Content

Changes

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