Delete SIP hooks
Removes the specified hosts from the cache. Hosts defined in the application configuration cannot be removed. If a host exists in the original server configuration, it will revert to its config value after deletion of a cached override. Hosts that only exist in cache will be completely removed.
The changes take effect immediately and persist across server restarts.
Request Body
Array of host names to remove (case-insensitive).
Returns
200 OK- Updated list of SIP hooks after deletion400 Bad Request- If the hosts array is empty500 Internal Server Error- If writing the cache fails
- 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
Authentication token for protected endpoints. Can be provided as Authorization: Bearer <token> or ?api_key=<token>. Required when AUTH_REQUIRED is enabled.
Body
Request body for deleting SIP hooks.
Contains a list of host names to remove from the SIP hooks cache.
List of host names to remove (case-insensitive). Hosts that exist in the original config will revert to their config values.
["example.com", "other.com"]Response
Updated list of SIP hooks after deletion
Response body for SIP hooks operations.
List of all configured SIP hooks