AddAuthorizedAccountIP

View as Markdown

Adds a new authorized IP4 or network to the white/black list.

Allowed roles: Owner, Admin, Developer.

Example request: Add the 92.255.220.0/24 network to the white list.

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](/api-reference/management-api/authorization) for ready-to-copy snippets in bash, Python, Node.js and Go that turn your `credentials.json` into a token.

Query parameters

authorized_ipstringRequired
The authorized IP4 or network
allowedbooleanOptionalDefaults to true
Whether to remove the IP from the blacklist
descriptionstringOptional
The IP address description

Response

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