Skip to main content
DELETE
Deletes SIP hooks by host name.
Remove SIP webhook forwarding entries by host name.
  • Body: { hosts: [] } array of host names (case-insensitive); empty arrays are rejected.
  • Hosts present in server config revert to their config values after deletion; cache-only hosts are removed entirely.
  • Changes apply immediately and persist across restarts. Auth still applies when AUTH_REQUIRED=true; failures return 500 if cache writing fails.

Authorizations

Authorization
string
header
required

Authentication token for protected endpoints. Can be provided as Authorization: Bearer <token> or ?api_key=<token>. Required when AUTH_REQUIRED is enabled.

Body

application/json

Request body for deleting SIP hooks.

Contains a list of host names to remove from the SIP hooks cache.

hosts
string[]

List of host names to remove (case-insensitive). Hosts that exist in the original config will revert to their config values.

Example:

Response

Updated list of SIP hooks after deletion

Response body for SIP hooks operations.

hooks
object[]
required

List of all configured SIP hooks