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

# 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`

The request has succeeded.

- 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, nullable
    - `code` string — The error code.
    - `message` string — The error message.
    - `innererror` Error — recursive
  - `target` string — Location which contains the result of the certificate operation.
  - `preserveCertOrder` boolean — Specifies whether the certificate chain preserves its original order. The default value is false, which sets the leaf certificate at index 0.
  - `request_id` string — Identifier for the certificate operation.

## Other responses

- `default` — An unexpected error response.

---

[API](https://skmtc.net/azure/apis/keyvault-certificates.md) · [All operations](https://skmtc.net/azure/apis/keyvault-certificates/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/azure/keyvault-certificates/versions/b96f8513893b/schema)
