---
title: "Updates a specific SOA record."
method: PUT
path: "/soa/{soaId}"
tags: ["soa"]
---

# Updates a specific SOA record.

`PUT /soa/{soaId}`

## Request

- Base URL: `https://manager.digicertdns.com/v1`
- URL: `https://manager.digicertdns.com/v1/soa/{soaId}`
- Auth: HTTP bearer
- TypeScript: <https://skmtc.dev/digicert/apis/digicert-dns/docs/soa/:soaId/put.ts> (a function with typed inputs; its response is checked against the schema)

This endpoint updates a specific SOA record, helping users modify its settings or information as needed.</br></br>Key features include:</br></br>- **Clear success messaging:** Returns a `200` success code with a confirmation message indicating the successful completion of the requested action.</br>- **Comprehensive error handling:** Returns a `400` error code with a clear description when requests fail.</br>- **Reliable SOA record updates:** Facilitates the modification of a specific SOA record, ensuring accurate and up-to-date information across the system.</br>- **Targeted data updates:** Leverages the `soaId` parameter in the URL path to update the specified SOA record, ensuring accurate and focused modifications.

## Path parameters

- `soaId` integer, required

## Request body

- PrimarySOAWithoutId
  - `id` integer
  - `name` string
  - `primaryNameserver` string
  - `email` string
  - `ttl` integer
  - `startingSerial` string
  - `refresh` integer
  - `retry` integer
  - `expire` string
  - `negativeCache` integer
  - `createdTs` string
  - `modifiedTs` string
  - `domains` PrimaryIpSetDomains[]
    - `id` integer
    - `name` string

## Response `200`

SOA record updated successfully.

- PrimarySOA
  - `id` integer
  - `name` string
  - `primaryNameserver` string
  - `email` string
  - `ttl` integer
  - `startingSerial` string
  - `refresh` integer
  - `retry` integer
  - `expire` string
  - `negativeCache` integer
  - `createdTs` string
  - `modifiedTs` string
  - `isDefault` boolean
  - `domains` PrimaryIpSetDomains[]
    - `id` integer
    - `name` string

## Other responses

- `400`: Request is malformed or invalid.

---

[API](https://skmtc.dev/digicert/apis/digicert-dns.md) - [All operations](https://skmtc.dev/digicert/apis/digicert-dns/llms.txt) - [OpenAPI document](https://skmtc.dev/digicert/apis/digicert-dns/revisions/c74fc728cff8?raw)
