Update a call blocking rule

Updates a call blocking rule in place, then rebuilds and reloads your account's call blocking routing. Always resend call_block_name: omitting that one key clears the name, while every other field you omit keeps its current value. The updated rule is not returned.

Recent Requests
Log in to see full request history
TimeStatusUser Agent
Retrieving recent requests…
LoadingLoading…
Path Params
string
required

ID of the call blocking rule to update.

Body Params
string | null

Display name for the rule. Omitting this key clears the name, so resend it on every update even when it has not changed.

string | null

The calling number to block. Written only when the key is present.

string | null

Free-text note about the rule. Written only when the key is present.

string

Limit the rule to one extension. Send all or leave it empty to apply the rule across your whole account.

string | null

Category of the action applied to a blocked call. Written only when the key is present.

string | null

The action taken on a blocked call. reject, busy and hold clear call_block_data.

string | null

Argument for the action, such as a destination. Ignored for reject, busy and hold.

number | null

Country code stored alongside the blocked number.

string

Call direction the rule applies to.

Responses

401

Missing or invalid API key.

Language
Credentials
Bearer
LoadingLoading…
Response
Click Try It! to start a request and see the response here! Or choose an example:
application/json