Delete webhook

DELETE /webhooks/{webhookId}

This endpoint modify an existing webhook. It returns the webhook object.

Path parameters

  • webhookId string Required

    Specify the ID of the webhook to delete.

Responses

  • 200 application/json

    Success

    Hide response attributes Show response attributes object
  • 400

    Bad Request -- Your request is invalid.

  • 401

    Unauthorized -- Your API key is wrong.

  • 403

    Forbidden -- The object requested is hidden for administrators only.

  • 404

    Not Found -- The specified object could not be found.

  • 429

    Too Many Requests -- You're requesting too many objects! Slow down!

  • 500

    Internal Server Error -- We had a problem with our server. Try again later.

  • 503

    Service Unavailable -- We're temporarily offline for maintenance. Please try again later.

DELETE /webhooks/{webhookId}
curl \
 -X DELETE https://api.usecollect.com/v1/webhooks/{webhookId} \
 --user "username:password"
Response examples (200)
{
  "id": "eqQkPdnqwN7J38QEx",
  "deleted": true
}