DELETE/api/v1/webhooks/{uuid}

Delete webhook

Permanently deletes a webhook endpoint and all associated delivery records. This is a hard delete — there is no soft-delete or recovery mechanism.

DELETE /api/v1/webhooks/{uuid}
⚠️

This action is permanent and cannot be undone. All delivery history for this endpoint will also be deleted. If you only want to stop receiving deliveries temporarily, set isActive to false via the update endpoint instead.

Headers

NameTypeRequiredDescription
AuthorizationstringYesBearer token for authentication
X-CompanystringYesCompany UUID to scope the request

Path parameters

NameTypeRequiredDescription
uuidstringYesWebhook endpoint UUID

Request

curl -X DELETE https://api.storno.ro/api/v1/webhooks/a1b2c3d4-e5f6-7890-abcd-ef1234567890 \
  -H "Authorization: Bearer YOUR_TOKEN" \
  -H "X-Company: 550e8400-e29b-41d4-a716-446655440000"

Response

Returns 204 No Content on successful deletion with an empty response body.

Error codes

CodeDescription
401Missing or invalid authentication token
403Insufficient permissions — requires webhook.manage permission
404Webhook endpoint not found for this company