Skip to content

List all ACLs for a trunk

Request

Get all access control list entries for a trunk.

Security
Basic or OAuth2.0
Path
projectIdstringrequired

The projectId is a required parameter you must include when making any API calls. You can find your project ID on your Build dashboard.

Example:3acb7ae1-cf3d-4112-ba5e-3a9d8c71cd47
trunkIdstringrequired

The ID of the trunk that you want to work with

curl -i -X GET \
  -u '<username>:<password>' \
  'https://elastic-trunking.api.sinch.com/v1/projects/3acb7ae1-cf3d-4112-ba5e-3a9d8c71cd47/trunks/{trunkId}/accessControlLists'

Responses

The list of access control list entries

Bodyapplication/json
accessControlListIdsArray of strings

Array of AccessControlList ids

totalItemsinteger, (int32)read-only

Total size of the result.

Example:10000
pageNumberstringread-only

The token to be used for listing the next page

Example:"1"
sizeinteger, (int32)read-only

The number of items per page. default is 1000

Example:2000
Response

All access control lists assigned to a trunk.

{ "accessControlListIds": [ "01HA2E80QCBX185VVP21PJG9CT" ], "pageNumber": 1, "size": 1000, "totalItems": 1 }
We'd love to hear from you!
Rate this content: