Deletes SIP hooks by host name.
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 deletion
- 400 Bad Request - If the hosts array is empty
- 500 Internal Server Error - If writing the cache fails
Request body
Example request
{
"hosts": [
"example.com",
"other.com"
]
}Response
Updated list of SIP hooks after deletion
Example response
{
"hooks": [
{
"auth_id": "tenant-123",
"host": "example.com",
"url": "https://webhook.example.com/events"
}
]
}Changes
Changed in 5 of the 13 revisions of this API.14
- ○
the endpoint scheme security
authwas added to the APIapi-security-added
This revision also has 2 changes that name no endpoint, such as unreferenced schemas being removed. See the revision's changelog
- ○
- ○
added the required property
//to the response with the statusresponse-required-property-added
- ○
- ○
added the non-success response with the status
response-non-success-status-added
- ○
- ○
endpoint added
endpoint-added
- ○
- ▲
api path removed without deprecation
api-path-removed-without-deprecation
This revision also has 29 changes that name no endpoint, such as unreferenced schemas being removed. See the revision's changelog
- ▲