v1

latestOpenAPI 3.0.02026-07-24161215397.4 KB
Webhooks

Delete a single webhook

Delete a single webhook by id

Required scopes: flex.settings.webhooks.delete

delete/api/v2/organizations/{orgSlug}/webhooks/{webhookId}

Path parameters

webhookIdstring required

webhook id

orgSlugstring required

organization slug

Response

_idstring

The _id of the webhook.

urlstring

The URL of the endpoint of your server where POST requests will be made.

descriptionstring

A description of the webhook.

eventTypesstring[]

An array containg the type of events associated with the webhook.

secretstring

The secret key used to sign the webhook payload.

isEnabledboolean

Determines whether the webhook is enabled. If left empty the webhook will be turned on by default.

Example response

{
  "_id": "6a59d080856fad4ee41952f9",
  "url": "https://webhook.site/1b1b1b1b-1b1b-1b1b-1b1b-1b1b1b1b1b1b",
  "description": "A webhook for testing purposes.",
  "eventTypes": [
    "membership.created",
    "membership.updated"
  ],
  "secret": "1b1b1b1b-1b1b-1b1b-1b1b-1b1b1b1b1b1b",
  "isEnabled": true
}