---
title: Update existing DNS record
canonical: https://openvpn.net/cloud-docs/developer/cloudconnexa-api-v1-0/dns-record/update-existing-dns-record/
product: CloudConnexa Docs
---

# Update existing DNS record

`PUT /api/v1/dns-records/{id}`

**Update an existing DNS record.**

## Body parameter

```json
{
  "domain": "string",
  "description": "string",
  "ipv4Addresses": [
    "string"
  ],
  "ipv6Addresses": [
    "string"
  ]
}
```

## Parameters

| Name | In | Type | Required | Description |
| --- | --- | --- | --- | --- |
| id | path | string | true | Dns record ID |
| body | body | [DnsRecordRequest](https://openvpn.net/cloud-docs/developer/cloudconnexa-api-v1-0/schemas/dnsrecordrequest.md) | true | none |
| » domain | body | string | false | none |
| » description | body | string | false | none |
| » ipv4Addresses | body | \[string\] | false | none |
| » ipv6Addresses | body | \[string\] | false | none |

## Responses

| Status | Meaning | Description | Schema |
| --- | --- | --- | --- |
| 200 | [OK](https://tools.ietf.org/html/rfc7231#section-6.3.1) | OK | [DnsRecordResponse](https://openvpn.net/cloud-docs/developer/cloudconnexa-api-v1-0/schemas/dnsrecordresponse.md) |

To perform this operation, you must be authenticated by means of one of the following methods: oauth

---

Prev: [DNS Record](https://openvpn.net/cloud-docs/developer/cloudconnexa-api-v1-0/dns-record.md)
Next: [Delete existing DNS record](https://openvpn.net/cloud-docs/developer/cloudconnexa-api-v1-0/dns-record/delete-existing-dns-record.md)
Index: https://openvpn.net/cloud-docs/llms.txt
