---
title: "Set authority for zone"
method: POST
path: "/v1/dns/zones/{zone_name}/authority"
tags: ["zones"]
---

# Set authority for zone

`POST /v1/dns/zones/{zone_name}/authority`

Specify an authority for a zone

## Path parameters

- `zone_name` string, required — The name of the zone.

## Request body

- ZoneAuthority
  - `name` string, required — ## Identifier A string type that has a limited character set, which makes it useful as an easy to type identifier for use in things like URL paths. The restrictions are alphanumeric characters (Unicode is permitted), plus dashes and underscore except for the initial character.
  - `mname` string, nullable
  - `rname` string, nullable
  - `nameservers` string[], nullable
  - `extend` boolean, nullable

## Response `202`

resource updated

- CommandSuccess
  - `warnings` Warning[]
    - `code` string, required — A code for this warning.
    - `title` string, required — A title for this warning.
    - `detail` string, nullable — Contextual information about this warning.

## Other responses

- `401` — unauthorized (code: 2465)
- `403` — changing this zone is prohibited; please contact support (code: 3903)
- `404` — Multiple error variants are possible: - zone authority not found (code: 3792) - zone not found (code: 2510)

---

[API](https://skmtc.net/noip/apis/no-ip-api.md) · [All operations](https://skmtc.net/noip/apis/no-ip-api/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/noip/no-ip-api/revisions/619d78b2a70e/schema)
