> Markdown version of https://tuna.am/en/docs/api/domain-zone-edit/. Documentation index: [llms.txt](https://tuna.am/en/llms.txt), full text in one file: [llms-full.txt](https://tuna.am/en/llms-full.txt). Any page is available as Markdown: append `.md` to its URL without the trailing slash.

# Update a domain zone

post`/v1/team/domain_zones/{id}`

## Request

### Authorization

* **Authorization**stringheaderrequired

  Key in the format `Bearer <API-key>`. Create a key on the [API keys](https://my.tuna.am/api_keys) page.

### Path Parameters

* **id** integer\<int64>required

### Request body

application/json

* **default_for_dynamic_domains**boolean

  Used for dynamic domains

  **tls_certificate_id**integer\<int64>

  TLS certificate ID

  **Example:&#x20;**`12`

### Response

204application/json

* **connection_settings** object

  Connection settings

  **property name\*** DomainZoneConnectionSettings

  **name**string

  Name

  **Example:&#x20;**`_acme-challenge`

  **type**string

  Type

  **Example:&#x20;**`TXT`

  **value**string

  Value

  **Example:&#x20;**`abc123def456`

  **created_at**string\<date-time>

  Creation date

  **default_for_dynamic_domains**boolean

  Used for dynamic domains

  **domain**string

  Domain

  **Example:&#x20;**`corp.example.com`

  **id**integer\<int64>

  Zone ID

  **Example:&#x20;**`301`

  **location**string

  Location

  **Example:&#x20;**`ru`

  **owner** object

  **active**boolean

  Active flag

  **avatar_url**string

  Avatar

  **Example:&#x20;**`https://www.gravatar.com/avatar/00000000000000000000000000000000`

  **email**string

  Email

  **Example:&#x20;**`jane@example.com`

  **id**integer\<int64>

  Identifier

  **Example:&#x20;**`42`

  **name**string

  Name

  **Example:&#x20;**`Jane Doe`

  **role**string

  Role

  **Possible values:** \[`primary_owner`, `owner`, `admin`, `member`]

  **Example:&#x20;**`member`

  **provisioned_by**string

  What created or modified the object: terraform means the Terraform provider, empty means another client

  **status**string

  Status

  **Possible values:** \[`unknown`, `dns_check`, `dns_failed`, `dns_verified`, `verified`]

  **Example:&#x20;**`verified`

  **tls_certificate** object

  **id**integer\<int64>

  Certificate ID

  **Example:&#x20;**`42`

  **not_after**string\<date-time>

  Validity end date

  **serial_number**string

  Serial number

  **Example:&#x20;**`04:9F:3A:2B:1C:8E`

  **subject_common_name**string

  CN (common name) of the domain

  **Example:&#x20;**`demo-app.tuna.am`
