remagicaDocs home
API referenceWebhooks

Delete a webhook endpoint

DELETE
/webhook-endpoints/{endpointId}

Needs a key withwebhooks:write

Deletes an endpoint and its delivery log. Nothing more is sent to it, retries included.

Requires scope webhooks:write.

Authorization

apiKey
headerx-api-key<token>

An API key of your workspace (rmg_…), created in the web app. It acts for that workspace, not for a person, and keeps working when its creator leaves.

Path Parameters

endpointId*string
Length1 <= length <= 128

Response Body

Deleted.

application/json
  1. response
deleted*unknown
Example Request
curl -X DELETE 'https://api.remagica.com/api/v1/webhook-endpoints/whe_4f5a8b9c0d1e2f3a'
Example Response
{  "deleted": true}