latestOpenAPI 3.0.3MIT2026-08-124627160.3 KB

c04c2c708bf9

Access Control List

Create an ACL

Create an access control list entry with at least one IP address or IP range.

post/accessControlLists

Request body

idstring

The ID of the access control list entry.

namestring required

Your name for the access control list entry.

enabledboolean

Whether the access control list entry is enabled. You can use this to disable an list temporarily without deleting it.

trunksstring[]

The associated SIP trunks ID.

createTimestring date-time

The time the call was created.

updateTimestring date-time

The time the call was created.

projectIdstring

The ID of the project.

Example request

{
  "name": "LA Office",
  "ipRanges": [
    {
      "description": "West wing of office",
      "ipAddress": "10.0.1.1",
      "range": 32,
      "createTime": "2021-11-01T23:20:50Z",
      "updateTime": "2021-11-01T23:20:50Z"
    }
  ],
  "createTime": "2021-11-01T23:20:50Z",
  "updateTime": "2021-11-01T23:20:50Z"
}

Response

The list of access control list entries

idstring

The ID of the access control list entry.

namestring required

Your name for the access control list entry.

enabledboolean

Whether the access control list entry is enabled. You can use this to disable an list temporarily without deleting it.

trunksstring[]

The associated SIP trunks ID.

createTimestring date-time

The time the call was created.

updateTimestring date-time

The time the call was created.

projectIdstring

The ID of the project.

Example response

{
  "name": "LA Office",
  "ipRanges": [
    {
      "description": "West wing of office",
      "ipAddress": "10.0.1.1",
      "range": 32,
      "createTime": "2021-11-01T23:20:50Z",
      "updateTime": "2021-11-01T23:20:50Z"
    }
  ],
  "createTime": "2021-11-01T23:20:50Z",
  "updateTime": "2021-11-01T23:20:50Z"
}