Delete an endpoint

Delete an endpoint

DELETE https://sandbox-api.stilt.com/v1/webhooks/endpoints/{endpoint_id}

No webhook messages will be sent to this endpoint once it's deleted

Path Parameters

NameTypeDescription

endpoint_id*

string

The uuid of the endpoint

{
    "uuid": "822b655d-0996-44cc-b34d-197d373aca56",
    "url": "https://testing-webhooks.stilt.com/webhooks/payments/listener",
    "description": "This endpoint receives all payments webhook messages.",
    "events": [
        "payment.failed",
        "payment.succeeded",
        "payment.failed_after_success"
    ]
}

Be sure to omit `Content-Type': 'application/json' from the header of this request to avoid a 500 error

Last updated