---
title: "PATCH /v1/{+name}"
method: PATCH
path: "/v1/{+name}"
tags: ["projects"]
---

# PATCH /v1/{+name}

`PATCH /v1/{+name}`

Updates a DnsAuthorization.

## Path parameters

- `name` string, required

## Query parameters

- `updateMask` string

## Request body

- DnsAuthorization — A DnsAuthorization resource describes a way to perform domain authorization for certificate issuance.
  - `dnsResourceRecord` DnsResourceRecord — The structure describing the DNS Resource Record that needs to be added to DNS configuration for the authorization to be usable by certificate.
    - `name` string — Output only. Fully qualified name of the DNS Resource Record. e.g. `_acme-challenge.example.com`
    - `type` string — Output only. Type of the DNS Resource Record. Currently always set to "CNAME".
    - `data` string — Output only. Data of the DNS Resource Record.
  - `labels` object — Optional. Set of labels associated with a DnsAuthorization.
  - `description` string — Optional. One or more paragraphs of text description of a DnsAuthorization.
  - `tags` object — Optional. Input only. Immutable. Tag keys/values directly bound to this resource. For example: "123/environment": "production", "123/costCenter": "marketing"
  - `domain` string — Required. Immutable. A domain that is being authorized. A DnsAuthorization resource covers a single domain and its wildcard, e.g. authorization for `example.com` can be used to issue certificates for `example.com` and `*.example.com`.
  - `name` string — Identifier. A user-defined name of the dns authorization. DnsAuthorization names must be unique globally and match pattern `projects/*/locations/*/dnsAuthorizations/*`.
  - `type` 'TYPE_UNSPECIFIED' | 'FIXED_RECORD' | 'PER_PROJECT_RECORD' — Optional. Immutable. Type of DnsAuthorization. If unset during resource creation the following default will be used: - in location `global`: FIXED_RECORD, - in other locations: PER_PROJECT_RECORD.
  - `createTime` string, google-datetime — Output only. The creation timestamp of a DnsAuthorization.
  - `updateTime` string, google-datetime — Output only. The last update timestamp of a DnsAuthorization.

## Response `200`

Successful response

---

[API](https://skmtc.net/google/apis/certificatemanager.md) · [All operations](https://skmtc.net/google/apis/certificatemanager/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/google/certificatemanager/versions/2a5bf0361fcc/schema)
