# Certificates

Request free public TLS certificates that renew themselves, import your own, and export, revoke or delete them.

Source: https://docs.pantechdynamics.com/api/certificates

Request a certificate for up to 100 names, wildcards included. Names in an active Pantech DNS zone of your organization are validated automatically; for any other name, add the CNAME its `validations` show at your DNS host once, and every renewal stays automatic. A request answers `202` with the certificate `pending_validation`; with Pantech DNS it is usually `issued` within two minutes. Export, revoke and delete need a key with the `delete` scope. See [Certificates](https://docs.pantechdynamics.com/certificates/overview).

Endpoints:

- `GET /public/v1/certificates`: List certificates
- `POST /public/v1/certificates`: Request a certificate
- `POST /public/v1/certificates/import`: Import a certificate
- `GET /public/v1/certificates/{certificate_id}`: Get a certificate
- `PATCH /public/v1/certificates/{certificate_id}`: Change a certificate
- `DELETE /public/v1/certificates/{certificate_id}`: Delete a certificate
- `POST /public/v1/certificates/{certificate_id}/verify`: Check a certificate's CNAMEs now
- `POST /public/v1/certificates/{certificate_id}/reimport`: Replace an imported certificate
- `POST /public/v1/certificates/{certificate_id}/export`: Export a certificate and its private key
- `POST /public/v1/certificates/{certificate_id}/revoke`: Revoke a certificate

## The certificate object

A TLS certificate Pantech issued, or one you imported. Never includes the private key.

- `id` (string, required): e.g. `cert_...`.
- `kind` (string, required): `public`: issued and renewed by Pantech through a publicly trusted certificate authority. `imported`: yours, never renewed by Pantech. One of `public`, `imported`.
- `names` (array of string, required): 1 to 100 DNS names, lower-case, internationalised names in punycode.
- `common_name` (string or null, required): The first name when it is at most 64 characters, else null.
- `description` (string, required): Your note about it; may be empty.
- `key_type` (string, required): The key's algorithm and size. A request is `ecdsa-p256` or `rsa-2048`. One of `ecdsa-p256`, `ecdsa-p384`, `rsa-2048`, `rsa-3072`, `rsa-4096`.
- `exportable` (boolean, required): Whether the private key can be exported. Set at creation, never changed.
- `status` (string, required): `renewing`: a renewal is in progress while the current certificate keeps working. One of `pending_validation`, `issuing`, `issued`, `renewing`, `expired`, `revoked`, `failed`.
- `pending_reason` (string or null, required): While an issue or renewal is in progress, what it waits for; null otherwise. One of `awaiting_cname`, `awaiting_dns`, `awaiting_ca`, `rate_limited`, `ca_unavailable`, `validation_failed`, `null`.
- `failure_code` (string or null, required): Why a request `failed`; null otherwise. One of `validation_timeout`, `validation_failed`, `caa_forbidden`, `rejected_identifier`, `rate_limited`, `ca_unavailable`, `dns_record_limit`, `ca_rejected`, `null`.
- `validations` (array of CertificateValidation, required): One per name, for a certificate Pantech issues; empty for an imported one.
  - `name` (string, required): The name, as on the certificate.
  - `method` (string, required): `pantech_dns`: the name is in an active Pantech DNS zone of your organization and Pantech writes the challenge records itself. `cname`: add the CNAME `cname_name` → `cname_target` at your DNS host once. One of `pantech_dns`, `cname`.
  - `zone_id` (string or null, required): The Pantech DNS zone (`dnsz_…`) for `pantech_dns`; null otherwise.
  - `cname_name` (string or null, required): For `cname`: the name of the CNAME to add, e.g. `_acme-challenge.example.com`.
  - `cname_target` (string or null, required): For `cname`: what the CNAME points at. It is the same for every certificate of your organization naming this name.
  - `status` (string, required): `pending`: waiting for the CNAME. `ready`: the name can be validated. `valid`: validated for the latest issue. `invalid`: the certificate authority could not validate it. One of `pending`, `ready`, `valid`, `invalid`.
- `validation_deadline_at` (string or null, required): While a first issue waits for its CNAMEs: when it fails `validation_timeout`.
- `issuer` (string or null, required): The issuing certificate authority's name, as written in the certificate.
- `serial_number` (string or null, required): Hexadecimal.
- `fingerprint_sha256` (string or null, required): SHA-256 of the certificate, lower-case hex.
- `not_before` (string or null, required): Start of validity.
- `not_after` (string or null, required): End of validity.
- `issued_at` (string or null, required): When this certificate was last issued or imported.
- `renew_after` (string or null, required): When Pantech starts renewing it (30 days before `not_after`); null for an imported certificate.
- `renewal_status` (string or null, required): For a certificate Pantech issues, once issued; null otherwise. One of `scheduled`, `in_progress`, `failing`, `null`.
- `in_use_by` (array of CertificateUsage, required): Pantech resources using it: each `https` load balancer serving it. A certificate in use cannot be revoked or deleted; its renewals reach those load balancers by themselves.
  - `type` (string, required): What uses it, e.g. `load_balancer`.
  - `id` (string, required): Its id.
- `revocation_pending` (boolean, required): True between a revoke request and the authority confirming it.
- `revoked_at` (string or null, required): When it was revoked.
- `created_at` (string, required): When it was requested or imported.
- `updated_at` (string, required): Last change.
- `version` (integer, required): Increments on every change.
## The certificate validation object

How one name is proved to be yours.

- `name` (string, required): The name, as on the certificate.
- `method` (string, required): `pantech_dns`: the name is in an active Pantech DNS zone of your organization and Pantech writes the challenge records itself. `cname`: add the CNAME `cname_name` → `cname_target` at your DNS host once. One of `pantech_dns`, `cname`.
- `zone_id` (string or null, required): The Pantech DNS zone (`dnsz_…`) for `pantech_dns`; null otherwise.
- `cname_name` (string or null, required): For `cname`: the name of the CNAME to add, e.g. `_acme-challenge.example.com`.
- `cname_target` (string or null, required): For `cname`: what the CNAME points at. It is the same for every certificate of your organization naming this name.
- `status` (string, required): `pending`: waiting for the CNAME. `ready`: the name can be validated. `valid`: validated for the latest issue. `invalid`: the certificate authority could not validate it. One of `pending`, `ready`, `valid`, `invalid`.
## The exported certificate object

A certificate with its private key. Store it as a secret.

- `certificate_pem` (string, required): The certificate, PEM.
- `chain_pem` (string, required): The intermediates, PEM; may be empty for an imported certificate without them.
- `private_key_pem` (string, required): The private key, PEM: PKCS #8 for a certificate Pantech issued, as imported otherwise.
- `not_after` (string, required): End of validity.
## List certificates

```http
GET /public/v1/certificates
```

Your organization's TLS certificates, newest first: those Pantech issued and those you imported. Never includes a private key.

Scope: `read`.

Query parameters:

- `q` (string): Only certificates with a name containing this text (case-insensitive), at most 255 characters. An internationalised name is matched in its punycode form. At most 255 characters.
- `status` (string): Only certificates in this status. One of `pending_validation`, `issuing`, `issued`, `renewing`, `expired`, `revoked`, `failed`.
- `kind` (string): Only certificates Pantech issues (`public`) or you imported (`imported`). One of `public`, `imported`.
- `limit` (integer): Items per page, 1 to 100. Defaults to 50. From 1 to 100. Defaults to `50`.
- `cursor` (string): The previous page's `next_cursor`, to get the next page. Leave out for the first page; keep the other parameters the same.

Example:

```sh
curl "https://api.pantechdynamics.com/public/v1/certificates" \
  -H "Authorization: Bearer $PANTECH_API_KEY"
```

Response `200`:

```json
{
  "data": [
    {
      "id": "cert_06gk3x9tq7m2v8r4y1c5d0zp8w",
      "kind": "public",
      "names": [
        "example.com",
        "*.example.com"
      ],
      "common_name": "common-name",
      "description": "description",
      "key_type": "ecdsa-p256",
      "exportable": true,
      "status": "pending_validation",
      "pending_reason": "awaiting_cname",
      "failure_code": "validation_timeout",
      "validations": [
        {
          "name": "web-1",
          "method": "pantech_dns",
          "zone_id": "dnsz_06gk3x9tq7m2v8r4y1c5d0zp8w",
          "cname_name": "cname-name",
          "cname_target": "cname-target",
          "status": "pending"
        }
      ],
      "validation_deadline_at": "2026-10-03T09:30:00Z",
      "issuer": "issuer",
      "serial_number": "serial-number",
      "fingerprint_sha256": "fingerprint-sha256",
      "not_before": "2026-10-03T09:30:00Z",
      "not_after": "2026-10-03T09:30:00Z",
      "issued_at": "2026-10-03T09:30:00Z",
      "renew_after": "2026-10-03T09:30:00Z",
      "renewal_status": "scheduled",
      "in_use_by": [
        {
          "type": "compute",
          "id": "id"
        }
      ],
      "revocation_pending": true,
      "revoked_at": "2026-10-03T09:30:00Z",
      "created_at": "2026-10-03T09:30:00Z",
      "updated_at": "2026-10-03T09:30:00Z",
      "version": 1
    }
  ],
  "next_cursor": "eyJhdCI6IjIwMjYtMTAtMDNUMDk6MzA6MDBaIiwiaWQiOiJ2bV8wNmdrIn0"
}
```

Errors:

- `400`: `INVALID_FILTER`: a query parameter is not one of its allowed values. `detail` names it and what it takes.
`INVALID_CURSOR`: the cursor is not valid for this list and these filters. Start again without a cursor.
- `401`: `UNAUTHENTICATED`: the request has no API key, or the key is mistyped, revoked or expired, or its creator has left the organization. Send `Authorization: Bearer PAN_…` with a valid key; create one in the console under Organization › API keys.
- `403`: `INSUFFICIENT_SCOPE`: the API key lacks the `read` scope. Use a key with that scope.
`FORBIDDEN`: the member who created the key may not do this. Use a key created by an owner or admin.
`ACCESS_DENIED`: your organization's access policies do not allow this action on this certificate (`detail` names the action). Ask an owner or admin to grant it.
`AI_APPS_DISABLED`: the organization has turned AI app access off, and this request was made with an AI app's key or sent by Pantech's MCP server. An owner can turn it on in the console under Organization › AI apps.
- `429`: `RATE_LIMITED`: this API key, verified user or organization used its request budget for the current window, or this address exceeded an IP/failed-auth limit. Wait `Retry-After` seconds, then retry. For authenticated quota denials, `RateLimit-Scope` identifies the denying quota and `RateLimit-Reset` reports its remaining window in seconds.
- `503`: `CERTIFICATES_UNAVAILABLE`: certificates are not available on this deployment yet. Try again later.
`SERVICE_UNAVAILABLE`: request quota storage is unavailable. Wait a few seconds, then retry.
## Request a certificate

```http
POST /public/v1/certificates
```

Asks for a free TLS certificate from a publicly trusted certificate authority for 1 to 100 names, wildcards (`*.example.com`) included. Pantech proves control of each name with a DNS challenge and renews the certificate by itself 30 days before it expires.

For a name in an active Pantech DNS zone of your organization, Pantech writes the challenge records itself: nothing to do. For any other name the answer's `validations` show one CNAME to add once at your DNS host (`cname_name` → `cname_target`); it keeps every renewal automatic for as long as it stays. The request fails `validation_timeout` if those CNAMEs are not in place within 72 hours.

The certificate answers `pending_validation` at once and becomes `issued` usually within two minutes of its records being in place. Names are published in public Certificate Transparency logs by every authority: do not request names you want to keep private. At most 100 certificates per organization, 20 requests and imports in 24 hours, and 5 requests for exactly the same names in 7 days. Owners and admins only.

**Idempotency:** a retry with the same `Idempotency-Key` returns the certificate the first request made. The same key with a different request returns `409 IDEMPOTENCY_CONFLICT`.

Scope: `write`. Send an `Idempotency-Key` header.

Body:

- `names` (array of string, required): 1 to 100 names; wildcards as `*.example.com`. The first is the common name. At most 100 items.
- `key_type` (string): Default `ecdsa-p256`. One of `ecdsa-p256`, `rsa-2048`.
- `exportable` (boolean): Allow exporting the private key later. Default false: the key never leaves Pantech.
- `description` (string): Your note about it. At most 255 characters.

Example:

```sh
curl -X POST "https://api.pantechdynamics.com/public/v1/certificates" \
  -H "Authorization: Bearer $PANTECH_API_KEY" \
  -H "Idempotency-Key: $(uuidgen)" \
  -H "Content-Type: application/json" \
  -d '{
    "names": [
      "names"
    ]
  }'
```

Response `202`:

```json
{
  "id": "cert_06gk3x9tq7m2v8r4y1c5d0zp8w",
  "kind": "public",
  "names": [
    "example.com",
    "*.example.com"
  ],
  "common_name": "common-name",
  "description": "description",
  "key_type": "ecdsa-p256",
  "exportable": true,
  "status": "pending_validation",
  "pending_reason": "awaiting_cname",
  "failure_code": "validation_timeout",
  "validations": [
    {
      "name": "web-1",
      "method": "pantech_dns",
      "zone_id": "dnsz_06gk3x9tq7m2v8r4y1c5d0zp8w",
      "cname_name": "cname-name",
      "cname_target": "cname-target",
      "status": "pending"
    }
  ],
  "validation_deadline_at": "2026-10-03T09:30:00Z",
  "issuer": "issuer",
  "serial_number": "serial-number",
  "fingerprint_sha256": "fingerprint-sha256",
  "not_before": "2026-10-03T09:30:00Z",
  "not_after": "2026-10-03T09:30:00Z",
  "issued_at": "2026-10-03T09:30:00Z",
  "renew_after": "2026-10-03T09:30:00Z",
  "renewal_status": "scheduled",
  "in_use_by": [
    {
      "type": "compute",
      "id": "id"
    }
  ],
  "revocation_pending": true,
  "revoked_at": "2026-10-03T09:30:00Z",
  "created_at": "2026-10-03T09:30:00Z",
  "updated_at": "2026-10-03T09:30:00Z",
  "version": 1
}
```

Errors:

- `400`: `IDEMPOTENCY_KEY_REQUIRED`: the `Idempotency-Key` header is missing. Send a new unique value, such as a UUID, with every write.
`INVALID_IDEMPOTENCY_KEY`: the `Idempotency-Key` header is longer than 255 characters. Use a shorter value.
`INVALID_REQUEST_BODY`: the body is not a single valid JSON object. Send one JSON object with the fields documented for this endpoint.
- `401`: `UNAUTHENTICATED`: the request has no API key, or the key is mistyped, revoked or expired, or its creator has left the organization. Send `Authorization: Bearer PAN_…` with a valid key; create one in the console under Organization › API keys.
- `403`: `INSUFFICIENT_SCOPE`: the API key lacks the `write` scope. Use a key with that scope.
`FORBIDDEN`: the member who created the key may not do this. Use a key created by an owner or admin.
`ACCESS_DENIED`: your organization's access policies do not allow this action on this certificate (`detail` names the action). Ask an owner or admin to grant it.
`AI_APPS_DISABLED`: the organization has turned AI app access off, and this request was made with an AI app's key or sent by Pantech's MCP server. An owner can turn it on in the console under Organization › AI apps.
`CERTIFICATE_LIMIT_REACHED`: your organization already has 100 certificates. Delete one first.
`CERTIFICATE_REQUEST_LIMIT_REACHED`: your organization requested or imported 20 certificates in the last 24 hours. Try again tomorrow.
- `409`: `IDEMPOTENCY_CONFLICT`: this `Idempotency-Key` was already used for a different request. Use a new key.
`ACCOUNT_SUSPENDED`: the account is suspended or has an overdue invoice, so nothing new can be added. Pay the invoice under Billing in the console, then try again.
- `413`: `REQUEST_TOO_LARGE`: the body is larger than 64 KiB. Send a smaller request.
- `422`: `VALIDATION_FAILED`: a field is invalid. Each entry of `errors` names the `field` and its `code`:
`names` `REQUIRED` or `INVALID_NAMES`: send 1 to 100 names.
`names[i]` `INVALID_NAME`: send a domain name such as `example.com` or a wildcard such as `*.example.com`, not a public suffix such as `com` or `*.co.uk`, and not an IP address.
`names[i]` `RESERVED_NAME`: the name is reserved by Pantech. Choose another.
`key_type` `INVALID_KEY_TYPE`: send `ecdsa-p256` or `rsa-2048`.
`description` `INVALID_DESCRIPTION`: send at most 255 characters.
`UNKNOWN_FIELD`: the body has a field this endpoint does not take (named in `field`). Remove it or fix its spelling.
- `429`: `CERTIFICATE_RATE_LIMITED`: your organization requested exactly these names 5 times in the last 7 days. Use one of those certificates, or retry after the `Retry-After` seconds.
`RATE_LIMITED`: this key sent too many requests. Wait for `Retry-After` seconds.
- `503`: `CERTIFICATES_UNAVAILABLE`: certificates are not available on this deployment yet. Try again later.
`SERVICE_UNAVAILABLE`: request quota storage is unavailable. Wait a few seconds, then retry.
## Import a certificate

```http
POST /public/v1/certificates/import
```

Stores a certificate you bought elsewhere, with its intermediates and its unencrypted private key (PKCS #8, PKCS #1 or SEC 1 PEM), so Pantech services can use it. It must be valid now, use an RSA key of 2048, 3072 or 4096 bits or an ECDSA P-256 or P-384 key, be an end-entity (not a CA) certificate, name 1 to 100 DNS names, and the key must match it; each intermediate must sign the certificate before it. At most 64 KiB in all. The key is encrypted at rest and never shown again unless you import with `exportable: true` and export it.

Pantech never renews an imported certificate: you are reminded 30, 7 and 1 days before it expires, and you replace it with `reimport`. Owners and admins only.

**Idempotency:** a retry with the same `Idempotency-Key` and the same certificate returns the original import.

Scope: `write`. Send an `Idempotency-Key` header.

Body:

- `certificate_pem` (string, required): The certificate, PEM. Its intermediates may follow it here instead of in `chain_pem`.
- `chain_pem` (string): The intermediates, PEM, the certificate's issuer first. Optional.
- `private_key_pem` (string, required): The unencrypted private key, PEM.
- `exportable` (boolean): Allow exporting the private key later. Default false.
- `description` (string): Your note about it. At most 255 characters.

Example:

```sh
curl -X POST "https://api.pantechdynamics.com/public/v1/certificates/import" \
  -H "Authorization: Bearer $PANTECH_API_KEY" \
  -H "Idempotency-Key: $(uuidgen)" \
  -H "Content-Type: application/json" \
  -d '{
    "certificate_pem": "certificate-pem",
    "private_key_pem": "private-key-pem"
  }'
```

Response `201`:

```json
{
  "id": "cert_06gk3x9tq7m2v8r4y1c5d0zp8w",
  "kind": "public",
  "names": [
    "example.com",
    "*.example.com"
  ],
  "common_name": "common-name",
  "description": "description",
  "key_type": "ecdsa-p256",
  "exportable": true,
  "status": "pending_validation",
  "pending_reason": "awaiting_cname",
  "failure_code": "validation_timeout",
  "validations": [
    {
      "name": "web-1",
      "method": "pantech_dns",
      "zone_id": "dnsz_06gk3x9tq7m2v8r4y1c5d0zp8w",
      "cname_name": "cname-name",
      "cname_target": "cname-target",
      "status": "pending"
    }
  ],
  "validation_deadline_at": "2026-10-03T09:30:00Z",
  "issuer": "issuer",
  "serial_number": "serial-number",
  "fingerprint_sha256": "fingerprint-sha256",
  "not_before": "2026-10-03T09:30:00Z",
  "not_after": "2026-10-03T09:30:00Z",
  "issued_at": "2026-10-03T09:30:00Z",
  "renew_after": "2026-10-03T09:30:00Z",
  "renewal_status": "scheduled",
  "in_use_by": [
    {
      "type": "compute",
      "id": "id"
    }
  ],
  "revocation_pending": true,
  "revoked_at": "2026-10-03T09:30:00Z",
  "created_at": "2026-10-03T09:30:00Z",
  "updated_at": "2026-10-03T09:30:00Z",
  "version": 1
}
```

Errors:

- `400`: `IDEMPOTENCY_KEY_REQUIRED`: the `Idempotency-Key` header is missing. Send a new unique value, such as a UUID, with every write.
`INVALID_IDEMPOTENCY_KEY`: the `Idempotency-Key` header is longer than 255 characters. Use a shorter value.
`INVALID_REQUEST_BODY`: the body is not a single valid JSON object. Send one JSON object with the fields documented for this endpoint.
- `401`: `UNAUTHENTICATED`: the request has no API key, or the key is mistyped, revoked or expired, or its creator has left the organization. Send `Authorization: Bearer PAN_…` with a valid key; create one in the console under Organization › API keys.
- `403`: `INSUFFICIENT_SCOPE`: the API key lacks the `write` scope. Use a key with that scope.
`FORBIDDEN`: the member who created the key may not do this. Use a key created by an owner or admin.
`ACCESS_DENIED`: your organization's access policies do not allow this action on this certificate (`detail` names the action). Ask an owner or admin to grant it.
`AI_APPS_DISABLED`: the organization has turned AI app access off, and this request was made with an AI app's key or sent by Pantech's MCP server. An owner can turn it on in the console under Organization › AI apps.
`CERTIFICATE_LIMIT_REACHED`: your organization already has 100 certificates. Delete one first.
`CERTIFICATE_REQUEST_LIMIT_REACHED`: your organization requested or imported 20 certificates in the last 24 hours. Try again tomorrow.
- `409`: `IDEMPOTENCY_CONFLICT`: this `Idempotency-Key` was already used for a different request. Use a new key.
`ACCOUNT_SUSPENDED`: the account is suspended or has an overdue invoice, so nothing new can be added. Pay the invoice under Billing in the console, then try again.
- `413`: `REQUEST_TOO_LARGE`: the body is larger than 144 KiB. Send a smaller request.
- `422`: `VALIDATION_FAILED`: a field is invalid. Each entry of `errors` names the `field` and its `code`, and `message` says what is wrong:
`certificate_pem` `REQUIRED`, `INVALID_CERTIFICATE`, `CERTIFICATE_EXPIRED` or `UNSUPPORTED_KEY`.
`chain_pem` `INVALID_CHAIN`: list the intermediates in order, the certificate's issuer first.
`private_key_pem` `REQUIRED`, `INVALID_PRIVATE_KEY` (not one unencrypted PEM key), `UNSUPPORTED_KEY` or `KEY_MISMATCH`.
`description` `INVALID_DESCRIPTION`: send at most 255 characters.
`UNKNOWN_FIELD`: the body has a field this endpoint does not take (named in `field`). Remove it or fix its spelling.
- `429`: `RATE_LIMITED`: this API key, verified user or organization used its request budget for the current window, or this address exceeded an IP/failed-auth limit. Wait `Retry-After` seconds, then retry. For authenticated quota denials, `RateLimit-Scope` identifies the denying quota and `RateLimit-Reset` reports its remaining window in seconds.
- `503`: `CERTIFICATES_UNAVAILABLE`: certificates are not available on this deployment yet. Try again later.
`SERVICE_UNAVAILABLE`: request quota storage is unavailable. Wait a few seconds, then retry.
## Get a certificate

```http
GET /public/v1/certificates/{certificate_id}
```

One certificate: its names, status, how each name is validated (and the CNAME to add when needed), its validity and renewal, and what uses it. Never includes the private key.

Scope: `read`.

Path parameters:

- `certificate_id`: The certificate's id (`cert_…`).

Example:

```sh
curl "https://api.pantechdynamics.com/public/v1/certificates/cert_06gk3x9tq7m2v8r4y1c5d0zp8w" \
  -H "Authorization: Bearer $PANTECH_API_KEY"
```

Response `200`:

```json
{
  "id": "cert_06gk3x9tq7m2v8r4y1c5d0zp8w",
  "kind": "public",
  "names": [
    "example.com",
    "*.example.com"
  ],
  "common_name": "common-name",
  "description": "description",
  "key_type": "ecdsa-p256",
  "exportable": true,
  "status": "pending_validation",
  "pending_reason": "awaiting_cname",
  "failure_code": "validation_timeout",
  "validations": [
    {
      "name": "web-1",
      "method": "pantech_dns",
      "zone_id": "dnsz_06gk3x9tq7m2v8r4y1c5d0zp8w",
      "cname_name": "cname-name",
      "cname_target": "cname-target",
      "status": "pending"
    }
  ],
  "validation_deadline_at": "2026-10-03T09:30:00Z",
  "issuer": "issuer",
  "serial_number": "serial-number",
  "fingerprint_sha256": "fingerprint-sha256",
  "not_before": "2026-10-03T09:30:00Z",
  "not_after": "2026-10-03T09:30:00Z",
  "issued_at": "2026-10-03T09:30:00Z",
  "renew_after": "2026-10-03T09:30:00Z",
  "renewal_status": "scheduled",
  "in_use_by": [
    {
      "type": "compute",
      "id": "id"
    }
  ],
  "revocation_pending": true,
  "revoked_at": "2026-10-03T09:30:00Z",
  "created_at": "2026-10-03T09:30:00Z",
  "updated_at": "2026-10-03T09:30:00Z",
  "version": 1
}
```

Errors:

- `401`: `UNAUTHENTICATED`: the request has no API key, or the key is mistyped, revoked or expired, or its creator has left the organization. Send `Authorization: Bearer PAN_…` with a valid key; create one in the console under Organization › API keys.
- `403`: `INSUFFICIENT_SCOPE`: the API key lacks the `read` scope. Use a key with that scope.
`FORBIDDEN`: the member who created the key may not do this. Use a key created by an owner or admin.
`ACCESS_DENIED`: your organization's access policies do not allow this action on this certificate (`detail` names the action). Ask an owner or admin to grant it.
`AI_APPS_DISABLED`: the organization has turned AI app access off, and this request was made with an AI app's key or sent by Pantech's MCP server. An owner can turn it on in the console under Organization › AI apps.
- `404`: `CERTIFICATE_NOT_FOUND`: no certificate with this id in your organization. List your certificates to find it.
`RESOURCE_NOT_FOUND`: the id is not a certificate id (`cert_…`). Check the id.
- `429`: `RATE_LIMITED`: this API key, verified user or organization used its request budget for the current window, or this address exceeded an IP/failed-auth limit. Wait `Retry-After` seconds, then retry. For authenticated quota denials, `RateLimit-Scope` identifies the denying quota and `RateLimit-Reset` reports its remaining window in seconds.
- `503`: `CERTIFICATES_UNAVAILABLE`: certificates are not available on this deployment yet. Try again later.
`SERVICE_UNAVAILABLE`: request quota storage is unavailable. Wait a few seconds, then retry.
## Change a certificate

```http
PATCH /public/v1/certificates/{certificate_id}
```

Changes the certificate's description. Names, key type and `exportable` never change: request another certificate instead. Owners and admins only.

**Idempotency:** the same request applied twice leaves the certificate the same.

Scope: `write`. Send an `Idempotency-Key` header.

Path parameters:

- `certificate_id`: The certificate's id (`cert_…`).

Body:

- `description` (string): Your note about it. At most 255 characters.

Example:

```sh
curl -X PATCH "https://api.pantechdynamics.com/public/v1/certificates/cert_06gk3x9tq7m2v8r4y1c5d0zp8w" \
  -H "Authorization: Bearer $PANTECH_API_KEY" \
  -H "Idempotency-Key: $(uuidgen)" \
  -H "Content-Type: application/json" \
  -d '{}'
```

Response `200`:

```json
{
  "id": "cert_06gk3x9tq7m2v8r4y1c5d0zp8w",
  "kind": "public",
  "names": [
    "example.com",
    "*.example.com"
  ],
  "common_name": "common-name",
  "description": "description",
  "key_type": "ecdsa-p256",
  "exportable": true,
  "status": "pending_validation",
  "pending_reason": "awaiting_cname",
  "failure_code": "validation_timeout",
  "validations": [
    {
      "name": "web-1",
      "method": "pantech_dns",
      "zone_id": "dnsz_06gk3x9tq7m2v8r4y1c5d0zp8w",
      "cname_name": "cname-name",
      "cname_target": "cname-target",
      "status": "pending"
    }
  ],
  "validation_deadline_at": "2026-10-03T09:30:00Z",
  "issuer": "issuer",
  "serial_number": "serial-number",
  "fingerprint_sha256": "fingerprint-sha256",
  "not_before": "2026-10-03T09:30:00Z",
  "not_after": "2026-10-03T09:30:00Z",
  "issued_at": "2026-10-03T09:30:00Z",
  "renew_after": "2026-10-03T09:30:00Z",
  "renewal_status": "scheduled",
  "in_use_by": [
    {
      "type": "compute",
      "id": "id"
    }
  ],
  "revocation_pending": true,
  "revoked_at": "2026-10-03T09:30:00Z",
  "created_at": "2026-10-03T09:30:00Z",
  "updated_at": "2026-10-03T09:30:00Z",
  "version": 1
}
```

Errors:

- `400`: `IDEMPOTENCY_KEY_REQUIRED`: the `Idempotency-Key` header is missing. Send a new unique value, such as a UUID, with every write.
`INVALID_IDEMPOTENCY_KEY`: the `Idempotency-Key` header is longer than 255 characters. Use a shorter value.
`INVALID_REQUEST_BODY`: the body is not a single valid JSON object. Send one JSON object with the fields documented for this endpoint.
- `401`: `UNAUTHENTICATED`: the request has no API key, or the key is mistyped, revoked or expired, or its creator has left the organization. Send `Authorization: Bearer PAN_…` with a valid key; create one in the console under Organization › API keys.
- `403`: `INSUFFICIENT_SCOPE`: the API key lacks the `write` scope. Use a key with that scope.
`FORBIDDEN`: the member who created the key may not do this. Use a key created by an owner or admin.
`ACCESS_DENIED`: your organization's access policies do not allow this action on this certificate (`detail` names the action). Ask an owner or admin to grant it.
`AI_APPS_DISABLED`: the organization has turned AI app access off, and this request was made with an AI app's key or sent by Pantech's MCP server. An owner can turn it on in the console under Organization › AI apps.
- `404`: `CERTIFICATE_NOT_FOUND`: no certificate with this id in your organization. List your certificates to find it.
`RESOURCE_NOT_FOUND`: the id is not a certificate id (`cert_…`). Check the id.
- `409`: `CONFLICT`: the certificate was changed at the same time by another request. Get it again and retry.
- `413`: `REQUEST_TOO_LARGE`: the body is larger than 64 KiB. Send a smaller request.
- `422`: `VALIDATION_FAILED`: `description` `INVALID_DESCRIPTION`: send at most 255 characters.
`UNKNOWN_FIELD`: the body has a field this endpoint does not take (named in `field`). Remove it or fix its spelling.
- `429`: `RATE_LIMITED`: this API key, verified user or organization used its request budget for the current window, or this address exceeded an IP/failed-auth limit. Wait `Retry-After` seconds, then retry. For authenticated quota denials, `RateLimit-Scope` identifies the denying quota and `RateLimit-Reset` reports its remaining window in seconds.
- `503`: `CERTIFICATES_UNAVAILABLE`: certificates are not available on this deployment yet. Try again later.
`SERVICE_UNAVAILABLE`: request quota storage is unavailable. Wait a few seconds, then retry.
## Delete a certificate

```http
DELETE /public/v1/certificates/{certificate_id}
```

Removes the certificate and its private key from Pantech at once; any validation records still published are removed within a minute. It does not revoke it: revoke first if the key may be compromised. Refused while a Pantech service uses it. Owners and admins only.

**Idempotency:** a retry with the same `Idempotency-Key` answers the original result.

Scope: `write`. Send an `Idempotency-Key` header.

Path parameters:

- `certificate_id`: The certificate's id (`cert_…`).

Example:

```sh
curl -X DELETE "https://api.pantechdynamics.com/public/v1/certificates/cert_06gk3x9tq7m2v8r4y1c5d0zp8w" \
  -H "Authorization: Bearer $PANTECH_API_KEY" \
  -H "Idempotency-Key: $(uuidgen)"
```

Response `204`: Deleted.

Errors:

- `400`: `IDEMPOTENCY_KEY_REQUIRED`: the `Idempotency-Key` header is missing. Send a new unique value, such as a UUID, with every write.
`INVALID_IDEMPOTENCY_KEY`: the `Idempotency-Key` header is longer than 255 characters. Use a shorter value.
- `401`: `UNAUTHENTICATED`: the request has no API key, or the key is mistyped, revoked or expired, or its creator has left the organization. Send `Authorization: Bearer PAN_…` with a valid key; create one in the console under Organization › API keys.
- `403`: `INSUFFICIENT_SCOPE`: the API key lacks the `delete` scope. Use a key with that scope.
`FORBIDDEN`: the member who created the key may not do this. Use a key created by an owner or admin.
`ACCESS_DENIED`: your organization's access policies do not allow this action on this certificate (`detail` names the action). Ask an owner or admin to grant it.
`AI_APPS_DISABLED`: the organization has turned AI app access off, and this request was made with an AI app's key or sent by Pantech's MCP server. An owner can turn it on in the console under Organization › AI apps.
- `404`: `CERTIFICATE_NOT_FOUND`: no certificate with this id in your organization. List your certificates to find it.
`RESOURCE_NOT_FOUND`: the id is not a certificate id (`cert_…`). Check the id.
- `409`: `CERTIFICATE_IN_USE`: a load balancer uses this certificate (see `in_use_by`). Point it at another certificate, or delete it, first.
`CONFLICT`: the certificate was changed at the same time by another request. Get it again and retry.
- `429`: `RATE_LIMITED`: this API key, verified user or organization used its request budget for the current window, or this address exceeded an IP/failed-auth limit. Wait `Retry-After` seconds, then retry. For authenticated quota denials, `RateLimit-Scope` identifies the denying quota and `RateLimit-Reset` reports its remaining window in seconds.
- `503`: `CERTIFICATES_UNAVAILABLE`: certificates are not available on this deployment yet. Try again later.
`SERVICE_UNAVAILABLE`: request quota storage is unavailable. Wait a few seconds, then retry.
## Check a certificate's CNAMEs now

```http
POST /public/v1/certificates/{certificate_id}/verify
```

Checks the `_acme-challenge` CNAMEs of a certificate waiting for them within seconds, instead of on the next five-minute check. Call it after adding them. Owners and admins only.

**Idempotency:** calling it twice is the same as once.

Scope: `write`. Send an `Idempotency-Key` header.

Path parameters:

- `certificate_id`: The certificate's id (`cert_…`).

Example:

```sh
curl -X POST "https://api.pantechdynamics.com/public/v1/certificates/cert_06gk3x9tq7m2v8r4y1c5d0zp8w/verify" \
  -H "Authorization: Bearer $PANTECH_API_KEY" \
  -H "Idempotency-Key: $(uuidgen)"
```

Response `202`:

```json
{
  "id": "cert_06gk3x9tq7m2v8r4y1c5d0zp8w",
  "kind": "public",
  "names": [
    "example.com",
    "*.example.com"
  ],
  "common_name": "common-name",
  "description": "description",
  "key_type": "ecdsa-p256",
  "exportable": true,
  "status": "pending_validation",
  "pending_reason": "awaiting_cname",
  "failure_code": "validation_timeout",
  "validations": [
    {
      "name": "web-1",
      "method": "pantech_dns",
      "zone_id": "dnsz_06gk3x9tq7m2v8r4y1c5d0zp8w",
      "cname_name": "cname-name",
      "cname_target": "cname-target",
      "status": "pending"
    }
  ],
  "validation_deadline_at": "2026-10-03T09:30:00Z",
  "issuer": "issuer",
  "serial_number": "serial-number",
  "fingerprint_sha256": "fingerprint-sha256",
  "not_before": "2026-10-03T09:30:00Z",
  "not_after": "2026-10-03T09:30:00Z",
  "issued_at": "2026-10-03T09:30:00Z",
  "renew_after": "2026-10-03T09:30:00Z",
  "renewal_status": "scheduled",
  "in_use_by": [
    {
      "type": "compute",
      "id": "id"
    }
  ],
  "revocation_pending": true,
  "revoked_at": "2026-10-03T09:30:00Z",
  "created_at": "2026-10-03T09:30:00Z",
  "updated_at": "2026-10-03T09:30:00Z",
  "version": 1
}
```

Errors:

- `400`: `IDEMPOTENCY_KEY_REQUIRED`: the `Idempotency-Key` header is missing. Send a new unique value, such as a UUID, with every write.
`INVALID_IDEMPOTENCY_KEY`: the `Idempotency-Key` header is longer than 255 characters. Use a shorter value.
- `401`: `UNAUTHENTICATED`: the request has no API key, or the key is mistyped, revoked or expired, or its creator has left the organization. Send `Authorization: Bearer PAN_…` with a valid key; create one in the console under Organization › API keys.
- `403`: `INSUFFICIENT_SCOPE`: the API key lacks the `write` scope. Use a key with that scope.
`FORBIDDEN`: the member who created the key may not do this. Use a key created by an owner or admin.
`ACCESS_DENIED`: your organization's access policies do not allow this action on this certificate (`detail` names the action). Ask an owner or admin to grant it.
`AI_APPS_DISABLED`: the organization has turned AI app access off, and this request was made with an AI app's key or sent by Pantech's MCP server. An owner can turn it on in the console under Organization › AI apps.
- `404`: `CERTIFICATE_NOT_FOUND`: no certificate with this id in your organization. List your certificates to find it.
`RESOURCE_NOT_FOUND`: the id is not a certificate id (`cert_…`). Check the id.
- `409`: `CERTIFICATE_NOT_PENDING`: the certificate is not waiting for its CNAMEs.
`CONFLICT`: the certificate was changed at the same time by another request. Get it again and retry.
- `429`: `RATE_LIMITED`: this API key, verified user or organization used its request budget for the current window, or this address exceeded an IP/failed-auth limit. Wait `Retry-After` seconds, then retry. For authenticated quota denials, `RateLimit-Scope` identifies the denying quota and `RateLimit-Reset` reports its remaining window in seconds.
- `503`: `CERTIFICATES_UNAVAILABLE`: certificates are not available on this deployment yet. Try again later.
`SERVICE_UNAVAILABLE`: request quota storage is unavailable. Wait a few seconds, then retry.
## Replace an imported certificate

```http
POST /public/v1/certificates/{certificate_id}/reimport
```

Replaces an imported certificate with a new one for exactly the same names, in place, so everything using it keeps working. The same checks as an import apply. Owners and admins only.

**Idempotency:** the same request applied twice leaves the certificate the same.

Scope: `write`. Send an `Idempotency-Key` header.

Path parameters:

- `certificate_id`: The certificate's id (`cert_…`).

Body:

- `certificate_pem` (string, required): The certificate, PEM. Its intermediates may follow it here instead of in `chain_pem`.
- `chain_pem` (string): The intermediates, PEM, the certificate's issuer first. Optional.
- `private_key_pem` (string, required): The unencrypted private key, PEM.

Example:

```sh
curl -X POST "https://api.pantechdynamics.com/public/v1/certificates/cert_06gk3x9tq7m2v8r4y1c5d0zp8w/reimport" \
  -H "Authorization: Bearer $PANTECH_API_KEY" \
  -H "Idempotency-Key: $(uuidgen)" \
  -H "Content-Type: application/json" \
  -d '{
    "certificate_pem": "certificate-pem",
    "private_key_pem": "private-key-pem"
  }'
```

Response `200`:

```json
{
  "id": "cert_06gk3x9tq7m2v8r4y1c5d0zp8w",
  "kind": "public",
  "names": [
    "example.com",
    "*.example.com"
  ],
  "common_name": "common-name",
  "description": "description",
  "key_type": "ecdsa-p256",
  "exportable": true,
  "status": "pending_validation",
  "pending_reason": "awaiting_cname",
  "failure_code": "validation_timeout",
  "validations": [
    {
      "name": "web-1",
      "method": "pantech_dns",
      "zone_id": "dnsz_06gk3x9tq7m2v8r4y1c5d0zp8w",
      "cname_name": "cname-name",
      "cname_target": "cname-target",
      "status": "pending"
    }
  ],
  "validation_deadline_at": "2026-10-03T09:30:00Z",
  "issuer": "issuer",
  "serial_number": "serial-number",
  "fingerprint_sha256": "fingerprint-sha256",
  "not_before": "2026-10-03T09:30:00Z",
  "not_after": "2026-10-03T09:30:00Z",
  "issued_at": "2026-10-03T09:30:00Z",
  "renew_after": "2026-10-03T09:30:00Z",
  "renewal_status": "scheduled",
  "in_use_by": [
    {
      "type": "compute",
      "id": "id"
    }
  ],
  "revocation_pending": true,
  "revoked_at": "2026-10-03T09:30:00Z",
  "created_at": "2026-10-03T09:30:00Z",
  "updated_at": "2026-10-03T09:30:00Z",
  "version": 1
}
```

Errors:

- `400`: `IDEMPOTENCY_KEY_REQUIRED`: the `Idempotency-Key` header is missing. Send a new unique value, such as a UUID, with every write.
`INVALID_IDEMPOTENCY_KEY`: the `Idempotency-Key` header is longer than 255 characters. Use a shorter value.
`INVALID_REQUEST_BODY`: the body is not a single valid JSON object. Send one JSON object with the fields documented for this endpoint.
- `401`: `UNAUTHENTICATED`: the request has no API key, or the key is mistyped, revoked or expired, or its creator has left the organization. Send `Authorization: Bearer PAN_…` with a valid key; create one in the console under Organization › API keys.
- `403`: `INSUFFICIENT_SCOPE`: the API key lacks the `write` scope. Use a key with that scope.
`FORBIDDEN`: the member who created the key may not do this. Use a key created by an owner or admin.
`ACCESS_DENIED`: your organization's access policies do not allow this action on this certificate (`detail` names the action). Ask an owner or admin to grant it.
`AI_APPS_DISABLED`: the organization has turned AI app access off, and this request was made with an AI app's key or sent by Pantech's MCP server. An owner can turn it on in the console under Organization › AI apps.
- `404`: `CERTIFICATE_NOT_FOUND`: no certificate with this id in your organization. List your certificates to find it.
`RESOURCE_NOT_FOUND`: the id is not a certificate id (`cert_…`). Check the id.
- `409`: `CERTIFICATE_NOT_IMPORTED`: Pantech issues and renews this certificate itself; only an imported one can be reimported.
`CONFLICT`: the certificate was changed at the same time by another request. Get it again and retry.
- `413`: `REQUEST_TOO_LARGE`: the body is larger than 144 KiB. Send a smaller request.
- `422`: `CERTIFICATE_NAMES_MISMATCH`: the new certificate names other names. Import it as a new certificate instead.
`VALIDATION_FAILED`: as for an import: `certificate_pem`, `chain_pem` or `private_key_pem`, with `code` and `message`.
`UNKNOWN_FIELD`: the body has a field this endpoint does not take (named in `field`). Remove it or fix its spelling.
- `429`: `RATE_LIMITED`: this API key, verified user or organization used its request budget for the current window, or this address exceeded an IP/failed-auth limit. Wait `Retry-After` seconds, then retry. For authenticated quota denials, `RateLimit-Scope` identifies the denying quota and `RateLimit-Reset` reports its remaining window in seconds.
- `503`: `CERTIFICATES_UNAVAILABLE`: certificates are not available on this deployment yet. Try again later.
`SERVICE_UNAVAILABLE`: request quota storage is unavailable. Wait a few seconds, then retry.
## Export a certificate and its private key

```http
POST /public/v1/certificates/{certificate_id}/export
```

Returns the certificate, its intermediates and its private key as PEM, for a certificate created with `exportable: true`. This hands out a secret that can impersonate your site: every export is recorded, and every owner and admin is emailed a security notice. Owners and admins only.

**Idempotency:** each call returns the current certificate and key; nothing changes.

Scope: `write`. Send an `Idempotency-Key` header.

Path parameters:

- `certificate_id`: The certificate's id (`cert_…`).

Example:

```sh
curl -X POST "https://api.pantechdynamics.com/public/v1/certificates/cert_06gk3x9tq7m2v8r4y1c5d0zp8w/export" \
  -H "Authorization: Bearer $PANTECH_API_KEY" \
  -H "Idempotency-Key: $(uuidgen)"
```

Response `200`:

```json
{
  "certificate_pem": "certificate-pem",
  "chain_pem": "chain-pem",
  "private_key_pem": "private-key-pem",
  "not_after": "2026-10-03T09:30:00Z"
}
```

Errors:

- `400`: `IDEMPOTENCY_KEY_REQUIRED`: the `Idempotency-Key` header is missing. Send a new unique value, such as a UUID, with every write.
`INVALID_IDEMPOTENCY_KEY`: the `Idempotency-Key` header is longer than 255 characters. Use a shorter value.
- `401`: `UNAUTHENTICATED`: the request has no API key, or the key is mistyped, revoked or expired, or its creator has left the organization. Send `Authorization: Bearer PAN_…` with a valid key; create one in the console under Organization › API keys.
- `403`: `INSUFFICIENT_SCOPE`: the API key lacks the `delete` scope. Use a key with that scope.
`FORBIDDEN`: the member who created the key may not do this. Use a key created by an owner or admin.
`ACCESS_DENIED`: your organization's access policies do not allow this action on this certificate (`detail` names the action). Ask an owner or admin to grant it.
`AI_APPS_DISABLED`: the organization has turned AI app access off, and this request was made with an AI app's key or sent by Pantech's MCP server. An owner can turn it on in the console under Organization › AI apps.
- `404`: `CERTIFICATE_NOT_FOUND`: no certificate with this id in your organization. List your certificates to find it.
`RESOURCE_NOT_FOUND`: the id is not a certificate id (`cert_…`). Check the id.
- `409`: `CERTIFICATE_NOT_EXPORTABLE`: the certificate was created without `exportable: true`; its key never leaves Pantech.
`CERTIFICATE_NOT_ISSUED`: the certificate has not been issued yet.
- `429`: `RATE_LIMITED`: this API key, verified user or organization used its request budget for the current window, or this address exceeded an IP/failed-auth limit. Wait `Retry-After` seconds, then retry. For authenticated quota denials, `RateLimit-Scope` identifies the denying quota and `RateLimit-Reset` reports its remaining window in seconds.
- `503`: `CERTIFICATES_UNAVAILABLE`: certificates are not available on this deployment yet. Try again later.
`SERVICE_UNAVAILABLE`: request quota storage is unavailable. Wait a few seconds, then retry.
## Revoke a certificate

```http
POST /public/v1/certificates/{certificate_id}/revoke
```

Revokes a certificate Pantech issued at its certificate authority, within a minute (`revocation_pending` until then). It is then no longer trusted and never renewed. Send `reason: key_compromise` if its private key may have leaked. Refused while a Pantech service uses it; imported certificates are revoked with the authority that issued them. Owners and admins only.

**Idempotency:** a retry with the same `Idempotency-Key` answers the original result.

Scope: `write`. Send an `Idempotency-Key` header.

Path parameters:

- `certificate_id`: The certificate's id (`cert_…`).

Body:

- `reason` (string): Default `unspecified`. One of `unspecified`, `key_compromise`.

Example:

```sh
curl -X POST "https://api.pantechdynamics.com/public/v1/certificates/cert_06gk3x9tq7m2v8r4y1c5d0zp8w/revoke" \
  -H "Authorization: Bearer $PANTECH_API_KEY" \
  -H "Idempotency-Key: $(uuidgen)" \
  -H "Content-Type: application/json" \
  -d '{}'
```

Response `202`:

```json
{
  "id": "cert_06gk3x9tq7m2v8r4y1c5d0zp8w",
  "kind": "public",
  "names": [
    "example.com",
    "*.example.com"
  ],
  "common_name": "common-name",
  "description": "description",
  "key_type": "ecdsa-p256",
  "exportable": true,
  "status": "pending_validation",
  "pending_reason": "awaiting_cname",
  "failure_code": "validation_timeout",
  "validations": [
    {
      "name": "web-1",
      "method": "pantech_dns",
      "zone_id": "dnsz_06gk3x9tq7m2v8r4y1c5d0zp8w",
      "cname_name": "cname-name",
      "cname_target": "cname-target",
      "status": "pending"
    }
  ],
  "validation_deadline_at": "2026-10-03T09:30:00Z",
  "issuer": "issuer",
  "serial_number": "serial-number",
  "fingerprint_sha256": "fingerprint-sha256",
  "not_before": "2026-10-03T09:30:00Z",
  "not_after": "2026-10-03T09:30:00Z",
  "issued_at": "2026-10-03T09:30:00Z",
  "renew_after": "2026-10-03T09:30:00Z",
  "renewal_status": "scheduled",
  "in_use_by": [
    {
      "type": "compute",
      "id": "id"
    }
  ],
  "revocation_pending": true,
  "revoked_at": "2026-10-03T09:30:00Z",
  "created_at": "2026-10-03T09:30:00Z",
  "updated_at": "2026-10-03T09:30:00Z",
  "version": 1
}
```

Errors:

- `400`: `IDEMPOTENCY_KEY_REQUIRED`: the `Idempotency-Key` header is missing. Send a new unique value, such as a UUID, with every write.
`INVALID_IDEMPOTENCY_KEY`: the `Idempotency-Key` header is longer than 255 characters. Use a shorter value.
`INVALID_REQUEST_BODY`: the body is not a single valid JSON object. Send one JSON object with the fields documented for this endpoint.
- `401`: `UNAUTHENTICATED`: the request has no API key, or the key is mistyped, revoked or expired, or its creator has left the organization. Send `Authorization: Bearer PAN_…` with a valid key; create one in the console under Organization › API keys.
- `403`: `INSUFFICIENT_SCOPE`: the API key lacks the `delete` scope. Use a key with that scope.
`FORBIDDEN`: the member who created the key may not do this. Use a key created by an owner or admin.
`ACCESS_DENIED`: your organization's access policies do not allow this action on this certificate (`detail` names the action). Ask an owner or admin to grant it.
`AI_APPS_DISABLED`: the organization has turned AI app access off, and this request was made with an AI app's key or sent by Pantech's MCP server. An owner can turn it on in the console under Organization › AI apps.
- `404`: `CERTIFICATE_NOT_FOUND`: no certificate with this id in your organization. List your certificates to find it.
`RESOURCE_NOT_FOUND`: the id is not a certificate id (`cert_…`). Check the id.
- `409`: `CERTIFICATE_NOT_REVOCABLE`: the certificate is imported, already revoked, or a revocation is pending.
`CERTIFICATE_NOT_ISSUED`: the certificate has not been issued yet.
`CERTIFICATE_IN_USE`: a load balancer uses this certificate (see `in_use_by`). Point it at another certificate, or delete it, first.
`CONFLICT`: the certificate was changed at the same time by another request. Get it again and retry.
- `413`: `REQUEST_TOO_LARGE`: the body is larger than 64 KiB. Send a smaller request.
- `422`: `VALIDATION_FAILED`: `reason` `INVALID_REASON`: send `unspecified` or `key_compromise`.
`UNKNOWN_FIELD`: the body has a field this endpoint does not take (named in `field`). Remove it or fix its spelling.
- `429`: `RATE_LIMITED`: this API key, verified user or organization used its request budget for the current window, or this address exceeded an IP/failed-auth limit. Wait `Retry-After` seconds, then retry. For authenticated quota denials, `RateLimit-Scope` identifies the denying quota and `RateLimit-Reset` reports its remaining window in seconds.
- `503`: `CERTIFICATES_UNAVAILABLE`: certificates are not available on this deployment yet. Try again later.
`SERVICE_UNAVAILABLE`: request quota storage is unavailable. Wait a few seconds, then retry.
