Skip to main content
DELETE
/
v1
/
webhook_endpoints
/
{id}
Delete a WebhookEndpoint
curl --request DELETE \
  --url https://api.leanrails.com/v1/webhook_endpoints/{id} \
  --header 'Authorization: Basic <encoded-value>'
{
  "id": "we_xxx",
  "object": "webhook_endpoint",
  "deleted": true
}

Authorizations

Authorization
string
header
required

Use your secret API key as the username with an empty password.

Headers

X-API-Version
string

Override the API version for this request.

Path Parameters

id
string
required

Response

Confirmation of deletion.

id
string
required
Example:

"we_xxx"

object
string
required
Example:

"webhook_endpoint"

deleted
boolean
required
Example:

true