Access Control List

Get access control list

Changed on

Return an access control list by its ID.

get/v1/projects/{projectId}/accessControlLists/{id}

Request

  • Base URL
    https://elastic-trunking.api.sinch.com
  • URL
    https://elastic-trunking.api.sinch.com/v1/projects/{projectId}/accessControlLists/{id}
  • Auth
    • HTTP basic
    • or OAuth 2
      Client credentials
      Token URL: https://auth.sinch.com/oauth2/token

Response

The returned access control list.

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"
}

Changes