curl -X DELETE https://restapi.fax.plus/v3/webhooks/{endpoint_id} \
-H 'Accept: application/json' \
-H 'Authorization: Bearer {access-token}'
import requests
resp = requests.delete(
"https://restapi.fax.plus/v3/webhooks/{endpoint_id}",
headers={"Authorization": "Bearer {access-token}", "Accept": "application/json"},
)
print(resp.status_code)
{}
{
"error": "bad_request",
"description": "hook_id_required"
}
{
"error": "plan_not_eligible"
}
{
"error": "bad_request",
"description": "hook_not_found"
}
{
"error": "server_error",
"description": "server_error"
}
Webhooks
Delete a webhook endpoint
Delete a webhook endpoint by its ID. (Permitted scopes: fax:all:edit, fax:webhook:edit)
DELETE
/
webhooks
/
{endpoint_id}
curl -X DELETE https://restapi.fax.plus/v3/webhooks/{endpoint_id} \
-H 'Accept: application/json' \
-H 'Authorization: Bearer {access-token}'
import requests
resp = requests.delete(
"https://restapi.fax.plus/v3/webhooks/{endpoint_id}",
headers={"Authorization": "Bearer {access-token}", "Accept": "application/json"},
)
print(resp.status_code)
{}
{
"error": "bad_request",
"description": "hook_id_required"
}
{
"error": "plan_not_eligible"
}
{
"error": "bad_request",
"description": "hook_not_found"
}
{
"error": "server_error",
"description": "server_error"
}
Deletes a
/v3/webhooks endpoint (ep_…). To delete a legacy hook, use Delete webhook (Legacy).curl -X DELETE https://restapi.fax.plus/v3/webhooks/{endpoint_id} \
-H 'Accept: application/json' \
-H 'Authorization: Bearer {access-token}'
import requests
resp = requests.delete(
"https://restapi.fax.plus/v3/webhooks/{endpoint_id}",
headers={"Authorization": "Bearer {access-token}", "Accept": "application/json"},
)
print(resp.status_code)
{}
{
"error": "bad_request",
"description": "hook_id_required"
}
{
"error": "plan_not_eligible"
}
{
"error": "bad_request",
"description": "hook_not_found"
}
{
"error": "server_error",
"description": "server_error"
}