---
title: "Updates a certificate operation."
method: PATCH
path: "/certificates/{certificate-name}/pending"
tags: ["Certificates"]
---

# Updates a certificate operation.

`PATCH /certificates/{certificate-name}/pending`

Updates a certificate creation operation that is already in progress. This operation requires the certificates/update permission.

## Path parameters

- `certificate-name` string, required

## Query parameters

- `api-version` string, required

## Request body

- CertificateOperationUpdateParameter — The certificate operation update parameters.
  - `cancellation_requested` boolean, required — Indicates if cancellation was requested on the certificate operation.

## Response `200`

A message containing the certificate operation response.

- CertificateOperation — A certificate operation is returned in case of asynchronous requests.
  - `id` string — The certificate id.
  - `issuer` IssuerParameters — Parameters for the issuer of the X509 component of a certificate.
    - `name` string — Name of the referenced issuer object or reserved names; for example, 'Self' or 'Unknown'.
    - `cty` string — Certificate type as supported by the provider (optional); for example 'OV-SSL', 'EV-SSL'
    - `cert_transparency` boolean — Indicates if the certificates generated under this policy should be published to certificate transparency logs.
  - `csr` string, byte — The certificate signing request (CSR) that is being used in the certificate operation.
  - `cancellation_requested` boolean — Indicates if cancellation was requested on the certificate operation.
  - `status` string — Status of the certificate operation.
  - `status_details` string — The status details of the certificate operation.
  - `error` Error — The key vault server error.
    - `code` string — The error code.
    - `message` string — The error message.
    - `innererror` Error — recursive
  - `target` string — Location which contains the result of the certificate operation.
  - `request_id` string — Identifier for the certificate operation.

## Other responses

- `default` — Key Vault error response describing why the operation failed.

---

[API](https://skmtc.net/azure/apis/keyvaultclient.md) · [All operations](https://skmtc.net/azure/apis/keyvaultclient/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/azure/keyvaultclient/revisions/1f612999ec40/schema)
