Help us improve your experience.

Let us know what you think.

Do you have time for a two-minute survey?

 
 

Deleting Webhooks from the API

To delete a webhook using the API, you first need to find the webhook ID.

You can find the webhook ID in the webhook response. In the following example, the id is a7c61a9c-a25b-4c27-xxxx-xxxxxxxxxxxx

To delete this webhook, make an API call (DELETE) from your API client.

DELETE https://api.mist.com/api/v1/orgs/3f12cb79-fb5e-4d4b-xxxx-xxxxxxxxxxxxx/webhooks/a7c61a9c-a25b-4c27-a14e-xxxxxxxxxxxx

As detailed below, this call specifies the API endpoint, the organization ID, the resource (webhooks), and webhook ID (a7c61a9c-a25b-4c27-xxxx-xxxxxxxxxxxx).

Example webhook with labels for API prefix, organization ID, resource, and webhook ID

After you delete the webhook, the Juniper Mist API will return an HTTP 200 OK response.