Disable a webhook endpoint
DELETE
Disable an endpoint so it receives no further deliveries. Its delivery history is kept. Requires the coding:webhooks:write scope.
CustomerApiKeyheader
AuthorizationBearer <API Key>Customer API key sent as a bearer token
endpoint_id*stringFormat
uuidcustomer_id?|nullRequest fulfilled, document follows
application/json- response
endpoint*curl -X DELETE 'https://api.syndai.ai/api/v1/external/coding/webhooks/497f6eca-6276-4993-bfeb-53cbbbba6f08'Example Response
{ "endpoint": { "created_at": "2019-08-24T14:15:22Z", "customer_id": "160c0c4b-9966-4dc1-a916-8407eb10d74e", "event_types": [ "string" ], "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08", "last_secret_rotated_at": "2019-08-24T14:15:22Z", "name": "string", "status": "active", "target_url": "string", "updated_at": "2019-08-24T14:15:22Z" }}