Delete a webhook endpoint

DELETE /api/v1/webhook_endpoints/{webhook_endpoint}

Deletes the specified webhook endpoint.

Path parameters

  • webhook_endpoint string Required

    The ID of the desired webhook endpoint.

Responses

  • 200 application/json

    Returns a success message if a valid webhook endpoint ID was provided. Returns an error otherwise.

    Hide response attributes Show response attributes object
    • deleted boolean
    • deleted_at integer

      Unix timestamp (seconds since epoch) of when the webhook endpoint was deleted.

    • id string

      The webhook endpoint ID.

    • object string

      Default value is webhook_endpoint.

DELETE /api/v1/webhook_endpoints/{webhook_endpoint}
curl \
 --request DELETE 'https://api.1099policy.com/api/v1/webhook_endpoints/{webhook_endpoint}'
Response examples (200)
{
  "id": "whe_KPGc5vEZdvoETu39BNwu2Z",
  "object": "webhook_endpoint",
  "deleted": true,
  "deleted_at": 1640995200
}