Webhooks

Permanently deletes a webhook endpoint. To stop deliveries without deleting it, set enabled to false with PATCH /webhooks/:id.

delete/webhooks/{id}

Request

  • Base URL: https://api.whop.com/api/v1
  • URL: https://api.whop.com/api/v1/webhooks/{id}
  • Auth: HTTP bearer

Response

webhook deleted

deletedboolean required

Always true: the resource was deleted.

idstring required

The ID of the deleted resource.

Example response

{
  "deleted": true,
  "id": "hook_xxxxxxxxxxxxxx"
}

Changes

    • info

      added the optional property / to the response with the status

    • info

      added the optional property / to the response with the status

    • info

      added the optional property / to the response with the status

    • breaking

      the response's body type changed from boolean to object for status

    • warning

      deleted the path request parameter id

    • warning

      removed the optional property / from the response with the status

    • warning

      removed the optional property / from the response with the status

    • warning

      removed the optional property / from the response with the status

    • warning

      removed the optional property / from the response with the status

    • warning

      removed the optional property / from the response with the status

    • warning

      removed the optional property / from the response with the status

    • info

      added the new optional header request parameter Api-Version-Date to all path's operations

    • info

      removed the non-success response with the status

    • info

      removed the non-success response with the status

    • info

      removed the non-success response with the status

    • info

      removed the non-success response with the status

    • info

      added the required property to the response with the status

    • info

      added the required property to the response with the status