---
title: "Update country permission"
method: PUT
path: "/v1/projects/{projectId}/countryPermissions/{isoCode}"
tags: ["Country Permissions"]
---

# Update country permission

`PUT /v1/projects/{projectId}/countryPermissions/{isoCode}`

## Request

- Base URL: `https://elastic-trunking.api.sinch.com`
- URL: `https://elastic-trunking.api.sinch.com/v1/projects/{projectId}/countryPermissions/{isoCode}`
- Auth: one of:
  - HTTP basic
  - OAuth 2
    - Client credentials
    - Token URL: `https://auth.sinch.com/oauth2/token`

Update the requested country permission.

## Request body

- CountryPermission: With country permissions you can control which countries can be dialed from your account. For beta only, countries supported are US,CA and * if you would like to allow international dialing.
  - `isoCode` string: The [ISO code](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2) of the country
  - `name` string: Country name in english
  - `continent` string: Continent of the country
  - `countryDialingCodes` string[]: The country calling codes as an array, most countries have only one but some have multiple like the San Marino, China, and a few others.
  - `enabled` boolean, required: If the country is enabled or not. When this is enabled regular numbers can be dialed from the account.

## Response `200`

The updated country permission

- CountryPermission: With country permissions you can control which countries can be dialed from your account. For beta only, countries supported are US,CA and * if you would like to allow international dialing.
  - `isoCode` string: The [ISO code](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2) of the country
  - `name` string: Country name in english
  - `continent` string: Continent of the country
  - `countryDialingCodes` string[]: The country calling codes as an array, most countries have only one but some have multiple like the San Marino, China, and a few others.
  - `enabled` boolean, required: If the country is enabled or not. When this is enabled regular numbers can be dialed from the account.

## Changes

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

[Operation history](https://skmtc.dev/sinch/apis/elastic-sip-trunk-api/changes/v1/projects/:projectId/countryPermissions/:isoCode/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)
