SIP Accounts

Add allowed IP address

Add IP address to SIP account whitelist.

post/api/v1/sipaccounts/{sipaccount_id}/allowed_ips

Request

  • Base URL: https://app.didlogic.com
  • URL: https://app.didlogic.com/api/v1/sipaccounts/{sipaccount_id}/allowed_ips
  • Auth: HTTP bearer

Path parameters

sipaccount_idstring required
Example:01234

SIP account name or id from sipaccounts_index, sipaccounts_create: the account name (e.g. 01234, which may start with 0) or the numeric id (e.g. 73). Both resolve the same account.

Request body

ipstring required

Single IPv4 address in dotted-decimal form; a range (CIDR) is rejected

Example request

{
  "ip": "1.2.3.4"
}

Response

Successfully adds IP to whitelist

allowed_ipsstring[] required

List of allowed IP addresses after creation

Changes

No recorded changes to this operation across all 1 revision of this API.