Skip to navigation

SetSipWhiteListItem

View as Markdown

Edits the SIP white list.

Allowed roles: Owner, Admin, Developer.

Authentication

AuthorizationBearer

Voximplant Management API uses signed JWT tokens generated from your service-account private key. Pass the token in the Authorization header as a Bearer value:

Authorization: Bearer $VOXIMPLANT_TOKEN

See Authorization for ready-to-copy snippets in bash, Python, Node.js and Go that turn your credentials.json into a token.

Query parameters

sip_whitelist_idintegerRequired
The SIP white list item ID
sip_whitelist_networkstringRequired

The new network address in format A.B.C.D/L or A.B.C.D/a.b.c.d (example 192.168.1.5/16)

descriptionstringOptional
The network address description

Response

Successful response
resultintegerOptional
Returns 1 if the request has been completed successfully