Update call policy
Required scope: sessions:manage
Replaces the blocked country codes. New calls are checked against the new list at once; calls in progress continue.
Authorizations
Send your team API key or project token as Authorization: Bearer <token>. The credential must have the required permissions. Project tokens can access only their own project.
Body
The complete list, replacing the stored one. At most 300 codes; duplicates are removed. Send an empty list to allow every country.
Value constraints
300Country calling code, or a longer dialing prefix, as 1 to 4 digits without +. For example 44 or 1876.
^[1-9]\d{0,3}$Apply the change only if the policy still has this revision. Otherwise it fails with 409 state_conflict.
Value constraints
x >= 0