Skip to content

Delete a webhook endpoint (API key)

DELETE
/api/v2/webhooks/{id}
curl --request DELETE \
--url https://api.sipstack.com/api/v2/webhooks/2489E9AD-2EE2-8E00-8EC9-32D5F69181C0 \
--header 'x-api-key: <x-api-key>'

Permanently deletes the endpoint (and its delivery log via cascade). This is the API-key (server-to-server) webhooks surface; the portal admin-console equivalent lives under the Webhooks tag.

id
required
string format: uuid

Endpoint deleted.

Media type application/json
object
success
boolean
message
string
Example
{
"message": "Webhook deleted"
}

Missing or invalid API key.

Media type application/json

Inline error shape used by the messaging API and management endpoints.

object
success
boolean
error
string
Example
{
"success": false,
"error": "Recipient phone number (to) is required"
}

Endpoint not found in your organization.

Media type application/json

Inline error shape used by the messaging API and management endpoints.

object
success
boolean
error
string
Example
{
"success": false,
"error": "Recipient phone number (to) is required"
}

Internal error.

Media type application/json

Inline error shape used by the messaging API and management endpoints.

object
success
boolean
error
string
Example
{
"success": false,
"error": "Recipient phone number (to) is required"
}