---
title: "Update ACL"
method: PUT
path: "/v1/projects/{projectId}/accessControlLists/{id}"
tags: ["Access Control List"]
---

# Update ACL

`PUT /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: one of:
  - HTTP basic
  - OAuth 2
    - Client credentials
    - Token URL: `https://auth.sinch.com/oauth2/token`

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

## Request body

- object
  - `name` string, required: Your name for the access control list entry.
  - `enabled` boolean: Whether the access control list entry is enabled. You can use this to disable a list temporarily without deleting it.
  - `ipRanges` IpRange[]: An array of all the IP ranges to update.
    - `id` string: The ID of the IP range.
    - `description` string: A description of the IP range.
    - `ipAddress` string: The start of the IP range.
    - `range` integer: A range, also known as a CIDR, represents the number of leading bits that define the network portion of an IP address in CIDR notation. The range is specified after a slash (/) at the end of the IP address. The remaining bits define specific hosts within the network. - 10.0.0.0/8: Represents all IP addresses from 10.0.0.0 to 10.255.255.255, allowing for over 16 million unique host addresses. - 172.16.0.0/16: Includes all IP addresses from 172.16.0.0 to 172.16.255.255, providing up to 65,536 unique host addresses. - 192.168.1.0/24: Encompasses all IP addresses from 192.168.1.0 to 192.168.1.255, offering 256 unique host addresses. - 192.168.1.0/32: Encompasses one ip address
    - `createTime` string, date-time: The time the call was created.
    - `updateTime` string, date-time: The time the call was created.
    - `projectId` string: The ID of the project.
    - `accessControlListId` string: The ID of the access control list.

## Response `200`

The list of access control list entries

- AccessControlList
  - `id` string: The ID of the access control list entry.
  - `name` string, required: Your name for the access control list entry.
  - `enabled` boolean: Whether the access control list entry is enabled. You can use this to disable an list temporarily without deleting it.
  - `ipRanges` IpRange[], required: The associated IP ranges. When creating you need to submit at least one IP range.
    - `id` string: The ID of the IP range.
    - `description` string: A description of the IP range.
    - `ipAddress` string: The start of the IP range.
    - `range` integer: A range, also known as a CIDR, represents the number of leading bits that define the network portion of an IP address in CIDR notation. The range is specified after a slash (/) at the end of the IP address. The remaining bits define specific hosts within the network. - 10.0.0.0/8: Represents all IP addresses from 10.0.0.0 to 10.255.255.255, allowing for over 16 million unique host addresses. - 172.16.0.0/16: Includes all IP addresses from 172.16.0.0 to 172.16.255.255, providing up to 65,536 unique host addresses. - 192.168.1.0/24: Encompasses all IP addresses from 192.168.1.0 to 192.168.1.255, offering 256 unique host addresses. - 192.168.1.0/32: Encompasses one ip address
    - `createTime` string, date-time: The time the call was created.
    - `updateTime` string, date-time: The time the call was created.
    - `projectId` string: The ID of the project.
    - `accessControlListId` string: The ID of the access control list.
  - `trunks` string[]: The associated SIP trunks ID.
  - `createTime` string, date-time: The time the call was created.
  - `updateTime` string, date-time: The time the call was created.
  - `projectId` string: The ID of the project.

## Changes

- **2026-10-01** `108d6bcb3948`: 1 info
  - endpoint added

[Operation history](https://skmtc.dev/sinch/apis/elastic-sip-trunk-api/changes/v1/projects/:projectId/accessControlLists/:id/put.md)

---

[API](https://skmtc.dev/sinch/apis/elastic-sip-trunk-api.md) - [All operations](https://skmtc.dev/sinch/apis/elastic-sip-trunk-api/llms.txt) - [OpenAPI document](https://skmtc.dev/sinch/apis/elastic-sip-trunk-api/revisions/8f15a650c7cd?raw)
