Documentation

esc
    API reference · Certificates / Certificates

    Certificates

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

    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.

    The certificate object

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

    Fields

    • idstringrequired

      e.g. cert_....

    • kindstringrequired

      public: issued and renewed by Pantech through a publicly trusted certificate authority. imported: yours, never renewed by Pantech.

      One of public, imported.

    • namesarray of stringrequired

      1 to 100 DNS names, lower-case, internationalised names in punycode.

    • common_namestring or nullrequired

      The first name when it is at most 64 characters, else null.

    • descriptionstringrequired

      Your note about it; may be empty.

    • key_typestringrequired

      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.

    • exportablebooleanrequired

      Whether the private key can be exported. Set at creation, never changed.

    • statusstringrequired

      renewing: a renewal is in progress while the current certificate keeps working.

      One of pending_validation, issuing, issued, renewing, expired, revoked, failed.

    • pending_reasonstring or nullrequired

      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_codestring or nullrequired

      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.

    • validationsarray of CertificateValidationrequired

      One per name, for a certificate Pantech issues; empty for an imported one.

      Show 6 child fields
      • namestringrequired

        The name, as on the certificate.

      • methodstringrequired

        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_idstring or nullrequired

        The Pantech DNS zone (dnsz_…) for pantech_dns; null otherwise.

      • cname_namestring or nullrequired

        For cname: the name of the CNAME to add, e.g. _acme-challenge.example.com.

      • cname_targetstring or nullrequired

        For cname: what the CNAME points at. It is the same for every certificate of your organization naming this name.

      • statusstringrequired

        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_atstring or nullrequired

      While a first issue waits for its CNAMEs: when it fails validation_timeout.

    • issuerstring or nullrequired

      The issuing certificate authority's name, as written in the certificate.

    • serial_numberstring or nullrequired

      Hexadecimal.

    • fingerprint_sha256string or nullrequired

      SHA-256 of the certificate, lower-case hex.

    • not_beforestring or nullrequired

      Start of validity.

    • not_afterstring or nullrequired

      End of validity.

    • issued_atstring or nullrequired

      When this certificate was last issued or imported.

    • renew_afterstring or nullrequired

      When Pantech starts renewing it (30 days before not_after); null for an imported certificate.

    • renewal_statusstring or nullrequired

      For a certificate Pantech issues, once issued; null otherwise.

      One of scheduled, in_progress, failing, null.

    • in_use_byarray of CertificateUsagerequired

      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.

      Show 2 child fields
      • typestringrequired

        What uses it, e.g. load_balancer.

      • idstringrequired

        Its id.

    • revocation_pendingbooleanrequired

      True between a revoke request and the authority confirming it.

    • revoked_atstring or nullrequired

      When it was revoked.

    • created_atstringrequired

      When it was requested or imported.

    • updated_atstringrequired

      Last change.

    • versionintegerrequired

      Increments on every change.

    The certificate validation object

    How one name is proved to be yours.

    Fields

    • namestringrequired

      The name, as on the certificate.

    • methodstringrequired

      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_idstring or nullrequired

      The Pantech DNS zone (dnsz_…) for pantech_dns; null otherwise.

    • cname_namestring or nullrequired

      For cname: the name of the CNAME to add, e.g. _acme-challenge.example.com.

    • cname_targetstring or nullrequired

      For cname: what the CNAME points at. It is the same for every certificate of your organization naming this name.

    • statusstringrequired

      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.

    Fields

    • certificate_pemstringrequired

      The certificate, PEM.

    • chain_pemstringrequired

      The intermediates, PEM; may be empty for an imported certificate without them.

    • private_key_pemstringrequired

      The private key, PEM: PKCS #8 for a certificate Pantech issued, as imported otherwise.

    • not_afterstringrequired

      End of validity.

    List certificates

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

    GET/public/v1/certificates
    Read keyReturns200OK

    Headers

    • Authorizationstringrequired

      Bearer and your API key: Bearer PAN_….

    Query parameters

    • qstring

      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.

    • statusstring

      Only certificates in this status.

      One of pending_validation, issuing, issued, renewing, expired, revoked, failed.

    • kindstring

      Only certificates Pantech issues (public) or you imported (imported).

      One of public, imported.

    • limitinteger

      Items per page, 1 to 100. Defaults to 50.

      From 1 to 100. Defaults to 50.

    • cursorstring

      The previous page's next_cursor, to get the next page. Leave out for the first page; keep the other parameters the same.

    Response 200

    Certificates.
    • dataarray of Certificaterequired
      Show 26 child fields
      • idstringrequired

        e.g. cert_....

      • kindstringrequired

        public: issued and renewed by Pantech through a publicly trusted certificate authority. imported: yours, never renewed by Pantech.

        One of public, imported.

      • namesarray of stringrequired

        1 to 100 DNS names, lower-case, internationalised names in punycode.

      • common_namestring or nullrequired

        The first name when it is at most 64 characters, else null.

      • descriptionstringrequired

        Your note about it; may be empty.

      • key_typestringrequired

        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.

      • exportablebooleanrequired

        Whether the private key can be exported. Set at creation, never changed.

      • statusstringrequired

        renewing: a renewal is in progress while the current certificate keeps working.

        One of pending_validation, issuing, issued, renewing, expired, revoked, failed.

      • pending_reasonstring or nullrequired

        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_codestring or nullrequired

        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.

      • validationsarray of CertificateValidationrequired

        One per name, for a certificate Pantech issues; empty for an imported one.

        Show 6 child fields
        • namestringrequired

          The name, as on the certificate.

        • methodstringrequired

          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_idstring or nullrequired

          The Pantech DNS zone (dnsz_…) for pantech_dns; null otherwise.

        • cname_namestring or nullrequired

          For cname: the name of the CNAME to add, e.g. _acme-challenge.example.com.

        • cname_targetstring or nullrequired

          For cname: what the CNAME points at. It is the same for every certificate of your organization naming this name.

        • statusstringrequired

          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_atstring or nullrequired

        While a first issue waits for its CNAMEs: when it fails validation_timeout.

      • issuerstring or nullrequired

        The issuing certificate authority's name, as written in the certificate.

      • serial_numberstring or nullrequired

        Hexadecimal.

      • fingerprint_sha256string or nullrequired

        SHA-256 of the certificate, lower-case hex.

      • not_beforestring or nullrequired

        Start of validity.

      • not_afterstring or nullrequired

        End of validity.

      • issued_atstring or nullrequired

        When this certificate was last issued or imported.

      • renew_afterstring or nullrequired

        When Pantech starts renewing it (30 days before not_after); null for an imported certificate.

      • renewal_statusstring or nullrequired

        For a certificate Pantech issues, once issued; null otherwise.

        One of scheduled, in_progress, failing, null.

      • in_use_byarray of CertificateUsagerequired

        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.

        Show 2 child fields
        • typestringrequired

          What uses it, e.g. load_balancer.

        • idstringrequired

          Its id.

      • revocation_pendingbooleanrequired

        True between a revoke request and the authority confirming it.

      • revoked_atstring or nullrequired

        When it was revoked.

      • created_atstringrequired

        When it was requested or imported.

      • updated_atstringrequired

        Last change.

      • versionintegerrequired

        Increments on every change.

    • next_cursorstring or nullrequired

      Pass as cursor for the next page; null on the last one.

    Errors

    • 400INVALID_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.
    • 401UNAUTHENTICATED: 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.
    • 403INSUFFICIENT_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.
    • 429RATE_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.
    • 503CERTIFICATES_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.

    Every code is explained in Errors.

    Authorization
    Query
    curl "https://api.pantechdynamics.com/public/v1/certificates" \
      -H "Authorization: Bearer $PANTECH_API_KEY"
    Response 200
    {
      "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"
    }

    Request a certificate

    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.

    POST/public/v1/certificates
    Write keyNeeds Idempotency-KeyReturns202Accepted

    Headers

    • Authorizationstringrequired

      Bearer and your API key: Bearer PAN_….

    • Idempotency-Keystringrequired

      A new value, such as a UUID, for each change. Resend with the same value to retry safely.

      At most 255 characters.

    Body

    application/json
    • namesarray of stringrequired

      1 to 100 names; wildcards as *.example.com. The first is the common name.

      At most 100 items.

    • key_typestring

      Default ecdsa-p256.

      One of ecdsa-p256, rsa-2048.

    • exportableboolean

      Allow exporting the private key later. Default false: the key never leaves Pantech.

    • descriptionstring

      Your note about it.

      At most 255 characters.

    Response 202

    The certificate, waiting for validation; or the original one on a replay.
    • idstringrequired

      e.g. cert_....

    • kindstringrequired

      public: issued and renewed by Pantech through a publicly trusted certificate authority. imported: yours, never renewed by Pantech.

      One of public, imported.

    • namesarray of stringrequired

      1 to 100 DNS names, lower-case, internationalised names in punycode.

    • common_namestring or nullrequired

      The first name when it is at most 64 characters, else null.

    • descriptionstringrequired

      Your note about it; may be empty.

    • key_typestringrequired

      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.

    • exportablebooleanrequired

      Whether the private key can be exported. Set at creation, never changed.

    • statusstringrequired

      renewing: a renewal is in progress while the current certificate keeps working.

      One of pending_validation, issuing, issued, renewing, expired, revoked, failed.

    • pending_reasonstring or nullrequired

      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_codestring or nullrequired

      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.

    • validationsarray of CertificateValidationrequired

      One per name, for a certificate Pantech issues; empty for an imported one.

      Show 6 child fields
      • namestringrequired

        The name, as on the certificate.

      • methodstringrequired

        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_idstring or nullrequired

        The Pantech DNS zone (dnsz_…) for pantech_dns; null otherwise.

      • cname_namestring or nullrequired

        For cname: the name of the CNAME to add, e.g. _acme-challenge.example.com.

      • cname_targetstring or nullrequired

        For cname: what the CNAME points at. It is the same for every certificate of your organization naming this name.

      • statusstringrequired

        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_atstring or nullrequired

      While a first issue waits for its CNAMEs: when it fails validation_timeout.

    • issuerstring or nullrequired

      The issuing certificate authority's name, as written in the certificate.

    • serial_numberstring or nullrequired

      Hexadecimal.

    • fingerprint_sha256string or nullrequired

      SHA-256 of the certificate, lower-case hex.

    • not_beforestring or nullrequired

      Start of validity.

    • not_afterstring or nullrequired

      End of validity.

    • issued_atstring or nullrequired

      When this certificate was last issued or imported.

    • renew_afterstring or nullrequired

      When Pantech starts renewing it (30 days before not_after); null for an imported certificate.

    • renewal_statusstring or nullrequired

      For a certificate Pantech issues, once issued; null otherwise.

      One of scheduled, in_progress, failing, null.

    • in_use_byarray of CertificateUsagerequired

      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.

      Show 2 child fields
      • typestringrequired

        What uses it, e.g. load_balancer.

      • idstringrequired

        Its id.

    • revocation_pendingbooleanrequired

      True between a revoke request and the authority confirming it.

    • revoked_atstring or nullrequired

      When it was revoked.

    • created_atstringrequired

      When it was requested or imported.

    • updated_atstringrequired

      Last change.

    • versionintegerrequired

      Increments on every change.

    Errors

    • 400IDEMPOTENCY_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.
    • 401UNAUTHENTICATED: 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.
    • 403INSUFFICIENT_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.
    • 409IDEMPOTENCY_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.
    • 413REQUEST_TOO_LARGE: the body is larger than 64 KiB. Send a smaller request.
    • 422VALIDATION_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.
    • 429CERTIFICATE_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.
    • 503CERTIFICATES_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.

    Every code is explained in Errors.

    Authorization
    Body
    Idempotency
    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
    {
      "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
    }

    Import a certificate

    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.

    POST/public/v1/certificates/import
    Write keyNeeds Idempotency-KeyReturns201Created

    Headers

    • Authorizationstringrequired

      Bearer and your API key: Bearer PAN_….

    • Idempotency-Keystringrequired

      A new value, such as a UUID, for each change. Resend with the same value to retry safely.

      At most 255 characters.

    Body

    application/json
    • certificate_pemstringrequired

      The certificate, PEM. Its intermediates may follow it here instead of in chain_pem.

    • chain_pemstring

      The intermediates, PEM, the certificate's issuer first. Optional.

    • private_key_pemstringrequired

      The unencrypted private key, PEM.

    • exportableboolean

      Allow exporting the private key later. Default false.

    • descriptionstring

      Your note about it.

      At most 255 characters.

    Response 201

    The imported certificate, or the original one on a replay.
    • idstringrequired

      e.g. cert_....

    • kindstringrequired

      public: issued and renewed by Pantech through a publicly trusted certificate authority. imported: yours, never renewed by Pantech.

      One of public, imported.

    • namesarray of stringrequired

      1 to 100 DNS names, lower-case, internationalised names in punycode.

    • common_namestring or nullrequired

      The first name when it is at most 64 characters, else null.

    • descriptionstringrequired

      Your note about it; may be empty.

    • key_typestringrequired

      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.

    • exportablebooleanrequired

      Whether the private key can be exported. Set at creation, never changed.

    • statusstringrequired

      renewing: a renewal is in progress while the current certificate keeps working.

      One of pending_validation, issuing, issued, renewing, expired, revoked, failed.

    • pending_reasonstring or nullrequired

      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_codestring or nullrequired

      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.

    • validationsarray of CertificateValidationrequired

      One per name, for a certificate Pantech issues; empty for an imported one.

      Show 6 child fields
      • namestringrequired

        The name, as on the certificate.

      • methodstringrequired

        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_idstring or nullrequired

        The Pantech DNS zone (dnsz_…) for pantech_dns; null otherwise.

      • cname_namestring or nullrequired

        For cname: the name of the CNAME to add, e.g. _acme-challenge.example.com.

      • cname_targetstring or nullrequired

        For cname: what the CNAME points at. It is the same for every certificate of your organization naming this name.

      • statusstringrequired

        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_atstring or nullrequired

      While a first issue waits for its CNAMEs: when it fails validation_timeout.

    • issuerstring or nullrequired

      The issuing certificate authority's name, as written in the certificate.

    • serial_numberstring or nullrequired

      Hexadecimal.

    • fingerprint_sha256string or nullrequired

      SHA-256 of the certificate, lower-case hex.

    • not_beforestring or nullrequired

      Start of validity.

    • not_afterstring or nullrequired

      End of validity.

    • issued_atstring or nullrequired

      When this certificate was last issued or imported.

    • renew_afterstring or nullrequired

      When Pantech starts renewing it (30 days before not_after); null for an imported certificate.

    • renewal_statusstring or nullrequired

      For a certificate Pantech issues, once issued; null otherwise.

      One of scheduled, in_progress, failing, null.

    • in_use_byarray of CertificateUsagerequired

      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.

      Show 2 child fields
      • typestringrequired

        What uses it, e.g. load_balancer.

      • idstringrequired

        Its id.

    • revocation_pendingbooleanrequired

      True between a revoke request and the authority confirming it.

    • revoked_atstring or nullrequired

      When it was revoked.

    • created_atstringrequired

      When it was requested or imported.

    • updated_atstringrequired

      Last change.

    • versionintegerrequired

      Increments on every change.

    Errors

    • 400IDEMPOTENCY_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.
    • 401UNAUTHENTICATED: 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.
    • 403INSUFFICIENT_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.
    • 409IDEMPOTENCY_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.
    • 413REQUEST_TOO_LARGE: the body is larger than 144 KiB. Send a smaller request.
    • 422VALIDATION_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.
    • 429RATE_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.
    • 503CERTIFICATES_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.

    Every code is explained in Errors.

    Authorization
    Body
    Idempotency
    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
    {
      "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
    }

    Get a certificate

    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.

    GET/public/v1/certificates/{certificate_id}
    Read keyReturns200OK

    Headers

    • Authorizationstringrequired

      Bearer and your API key: Bearer PAN_….

    Path parameters

    • certificate_idstringrequired

      The certificate's id (cert_…).

    Response 200

    The certificate.
    • idstringrequired

      e.g. cert_....

    • kindstringrequired

      public: issued and renewed by Pantech through a publicly trusted certificate authority. imported: yours, never renewed by Pantech.

      One of public, imported.

    • namesarray of stringrequired

      1 to 100 DNS names, lower-case, internationalised names in punycode.

    • common_namestring or nullrequired

      The first name when it is at most 64 characters, else null.

    • descriptionstringrequired

      Your note about it; may be empty.

    • key_typestringrequired

      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.

    • exportablebooleanrequired

      Whether the private key can be exported. Set at creation, never changed.

    • statusstringrequired

      renewing: a renewal is in progress while the current certificate keeps working.

      One of pending_validation, issuing, issued, renewing, expired, revoked, failed.

    • pending_reasonstring or nullrequired

      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_codestring or nullrequired

      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.

    • validationsarray of CertificateValidationrequired

      One per name, for a certificate Pantech issues; empty for an imported one.

      Show 6 child fields
      • namestringrequired

        The name, as on the certificate.

      • methodstringrequired

        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_idstring or nullrequired

        The Pantech DNS zone (dnsz_…) for pantech_dns; null otherwise.

      • cname_namestring or nullrequired

        For cname: the name of the CNAME to add, e.g. _acme-challenge.example.com.

      • cname_targetstring or nullrequired

        For cname: what the CNAME points at. It is the same for every certificate of your organization naming this name.

      • statusstringrequired

        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_atstring or nullrequired

      While a first issue waits for its CNAMEs: when it fails validation_timeout.

    • issuerstring or nullrequired

      The issuing certificate authority's name, as written in the certificate.

    • serial_numberstring or nullrequired

      Hexadecimal.

    • fingerprint_sha256string or nullrequired

      SHA-256 of the certificate, lower-case hex.

    • not_beforestring or nullrequired

      Start of validity.

    • not_afterstring or nullrequired

      End of validity.

    • issued_atstring or nullrequired

      When this certificate was last issued or imported.

    • renew_afterstring or nullrequired

      When Pantech starts renewing it (30 days before not_after); null for an imported certificate.

    • renewal_statusstring or nullrequired

      For a certificate Pantech issues, once issued; null otherwise.

      One of scheduled, in_progress, failing, null.

    • in_use_byarray of CertificateUsagerequired

      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.

      Show 2 child fields
      • typestringrequired

        What uses it, e.g. load_balancer.

      • idstringrequired

        Its id.

    • revocation_pendingbooleanrequired

      True between a revoke request and the authority confirming it.

    • revoked_atstring or nullrequired

      When it was revoked.

    • created_atstringrequired

      When it was requested or imported.

    • updated_atstringrequired

      Last change.

    • versionintegerrequired

      Increments on every change.

    Errors

    • 401UNAUTHENTICATED: 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.
    • 403INSUFFICIENT_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.
    • 404CERTIFICATE_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.
    • 429RATE_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.
    • 503CERTIFICATES_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.

    Every code is explained in Errors.

    Authorization
    Path
    curl "https://api.pantechdynamics.com/public/v1/certificates/cert_06gk3x9tq7m2v8r4y1c5d0zp8w" \
      -H "Authorization: Bearer $PANTECH_API_KEY"
    Response 200
    {
      "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
    }

    Change a certificate

    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.

    PATCH/public/v1/certificates/{certificate_id}
    Write keyNeeds Idempotency-KeyReturns200OK

    Headers

    • Authorizationstringrequired

      Bearer and your API key: Bearer PAN_….

    • Idempotency-Keystringrequired

      A new value, such as a UUID, for each change. Resend with the same value to retry safely.

      At most 255 characters.

    Path parameters

    • certificate_idstringrequired

      The certificate's id (cert_…).

    Body

    application/json
    • descriptionstring

      Your note about it.

      At most 255 characters.

    Response 200

    The certificate.
    • idstringrequired

      e.g. cert_....

    • kindstringrequired

      public: issued and renewed by Pantech through a publicly trusted certificate authority. imported: yours, never renewed by Pantech.

      One of public, imported.

    • namesarray of stringrequired

      1 to 100 DNS names, lower-case, internationalised names in punycode.

    • common_namestring or nullrequired

      The first name when it is at most 64 characters, else null.

    • descriptionstringrequired

      Your note about it; may be empty.

    • key_typestringrequired

      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.

    • exportablebooleanrequired

      Whether the private key can be exported. Set at creation, never changed.

    • statusstringrequired

      renewing: a renewal is in progress while the current certificate keeps working.

      One of pending_validation, issuing, issued, renewing, expired, revoked, failed.

    • pending_reasonstring or nullrequired

      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_codestring or nullrequired

      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.

    • validationsarray of CertificateValidationrequired

      One per name, for a certificate Pantech issues; empty for an imported one.

      Show 6 child fields
      • namestringrequired

        The name, as on the certificate.

      • methodstringrequired

        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_idstring or nullrequired

        The Pantech DNS zone (dnsz_…) for pantech_dns; null otherwise.

      • cname_namestring or nullrequired

        For cname: the name of the CNAME to add, e.g. _acme-challenge.example.com.

      • cname_targetstring or nullrequired

        For cname: what the CNAME points at. It is the same for every certificate of your organization naming this name.

      • statusstringrequired

        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_atstring or nullrequired

      While a first issue waits for its CNAMEs: when it fails validation_timeout.

    • issuerstring or nullrequired

      The issuing certificate authority's name, as written in the certificate.

    • serial_numberstring or nullrequired

      Hexadecimal.

    • fingerprint_sha256string or nullrequired

      SHA-256 of the certificate, lower-case hex.

    • not_beforestring or nullrequired

      Start of validity.

    • not_afterstring or nullrequired

      End of validity.

    • issued_atstring or nullrequired

      When this certificate was last issued or imported.

    • renew_afterstring or nullrequired

      When Pantech starts renewing it (30 days before not_after); null for an imported certificate.

    • renewal_statusstring or nullrequired

      For a certificate Pantech issues, once issued; null otherwise.

      One of scheduled, in_progress, failing, null.

    • in_use_byarray of CertificateUsagerequired

      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.

      Show 2 child fields
      • typestringrequired

        What uses it, e.g. load_balancer.

      • idstringrequired

        Its id.

    • revocation_pendingbooleanrequired

      True between a revoke request and the authority confirming it.

    • revoked_atstring or nullrequired

      When it was revoked.

    • created_atstringrequired

      When it was requested or imported.

    • updated_atstringrequired

      Last change.

    • versionintegerrequired

      Increments on every change.

    Errors

    • 400IDEMPOTENCY_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.
    • 401UNAUTHENTICATED: 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.
    • 403INSUFFICIENT_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.
    • 404CERTIFICATE_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.
    • 409CONFLICT: the certificate was changed at the same time by another request. Get it again and retry.
    • 413REQUEST_TOO_LARGE: the body is larger than 64 KiB. Send a smaller request.
    • 422VALIDATION_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.
    • 429RATE_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.
    • 503CERTIFICATES_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.

    Every code is explained in Errors.

    Authorization
    Path
    Body
    Idempotency
    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
    {
      "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
    }

    Delete a certificate

    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.

    DELETE/public/v1/certificates/{certificate_id}
    Write keyNeeds Idempotency-KeyReturns204No Content

    Headers

    • Authorizationstringrequired

      Bearer and your API key: Bearer PAN_….

    • Idempotency-Keystringrequired

      A new value, such as a UUID, for each change. Resend with the same value to retry safely.

      At most 255 characters.

    Path parameters

    • certificate_idstringrequired

      The certificate's id (cert_…).

    Response 204

    Deleted. No body.

    Errors

    • 400IDEMPOTENCY_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.
    • 401UNAUTHENTICATED: 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.
    • 403INSUFFICIENT_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.
    • 404CERTIFICATE_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.
    • 409CERTIFICATE_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.
    • 429RATE_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.
    • 503CERTIFICATES_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.

    Every code is explained in Errors.

    Authorization
    Path
    Idempotency
    curl -X DELETE "https://api.pantechdynamics.com/public/v1/certificates/cert_06gk3x9tq7m2v8r4y1c5d0zp8w" \
      -H "Authorization: Bearer $PANTECH_API_KEY" \
      -H "Idempotency-Key: $(uuidgen)"
    HTTP/1.1 204 No Content

    Check a certificate's CNAMEs now

    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.

    POST/public/v1/certificates/{certificate_id}/verify
    Write keyNeeds Idempotency-KeyReturns202Accepted

    Headers

    • Authorizationstringrequired

      Bearer and your API key: Bearer PAN_….

    • Idempotency-Keystringrequired

      A new value, such as a UUID, for each change. Resend with the same value to retry safely.

      At most 255 characters.

    Path parameters

    • certificate_idstringrequired

      The certificate's id (cert_…).

    Response 202

    The certificate; it is checked within seconds.
    • idstringrequired

      e.g. cert_....

    • kindstringrequired

      public: issued and renewed by Pantech through a publicly trusted certificate authority. imported: yours, never renewed by Pantech.

      One of public, imported.

    • namesarray of stringrequired

      1 to 100 DNS names, lower-case, internationalised names in punycode.

    • common_namestring or nullrequired

      The first name when it is at most 64 characters, else null.

    • descriptionstringrequired

      Your note about it; may be empty.

    • key_typestringrequired

      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.

    • exportablebooleanrequired

      Whether the private key can be exported. Set at creation, never changed.

    • statusstringrequired

      renewing: a renewal is in progress while the current certificate keeps working.

      One of pending_validation, issuing, issued, renewing, expired, revoked, failed.

    • pending_reasonstring or nullrequired

      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_codestring or nullrequired

      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.

    • validationsarray of CertificateValidationrequired

      One per name, for a certificate Pantech issues; empty for an imported one.

      Show 6 child fields
      • namestringrequired

        The name, as on the certificate.

      • methodstringrequired

        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_idstring or nullrequired

        The Pantech DNS zone (dnsz_…) for pantech_dns; null otherwise.

      • cname_namestring or nullrequired

        For cname: the name of the CNAME to add, e.g. _acme-challenge.example.com.

      • cname_targetstring or nullrequired

        For cname: what the CNAME points at. It is the same for every certificate of your organization naming this name.

      • statusstringrequired

        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_atstring or nullrequired

      While a first issue waits for its CNAMEs: when it fails validation_timeout.

    • issuerstring or nullrequired

      The issuing certificate authority's name, as written in the certificate.

    • serial_numberstring or nullrequired

      Hexadecimal.

    • fingerprint_sha256string or nullrequired

      SHA-256 of the certificate, lower-case hex.

    • not_beforestring or nullrequired

      Start of validity.

    • not_afterstring or nullrequired

      End of validity.

    • issued_atstring or nullrequired

      When this certificate was last issued or imported.

    • renew_afterstring or nullrequired

      When Pantech starts renewing it (30 days before not_after); null for an imported certificate.

    • renewal_statusstring or nullrequired

      For a certificate Pantech issues, once issued; null otherwise.

      One of scheduled, in_progress, failing, null.

    • in_use_byarray of CertificateUsagerequired

      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.

      Show 2 child fields
      • typestringrequired

        What uses it, e.g. load_balancer.

      • idstringrequired

        Its id.

    • revocation_pendingbooleanrequired

      True between a revoke request and the authority confirming it.

    • revoked_atstring or nullrequired

      When it was revoked.

    • created_atstringrequired

      When it was requested or imported.

    • updated_atstringrequired

      Last change.

    • versionintegerrequired

      Increments on every change.

    Errors

    • 400IDEMPOTENCY_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.
    • 401UNAUTHENTICATED: 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.
    • 403INSUFFICIENT_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.
    • 404CERTIFICATE_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.
    • 409CERTIFICATE_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.
    • 429RATE_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.
    • 503CERTIFICATES_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.

    Every code is explained in Errors.

    Authorization
    Path
    Idempotency
    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
    {
      "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
    }

    Replace an imported certificate

    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.

    POST/public/v1/certificates/{certificate_id}/reimport
    Write keyNeeds Idempotency-KeyReturns200OK

    Headers

    • Authorizationstringrequired

      Bearer and your API key: Bearer PAN_….

    • Idempotency-Keystringrequired

      A new value, such as a UUID, for each change. Resend with the same value to retry safely.

      At most 255 characters.

    Path parameters

    • certificate_idstringrequired

      The certificate's id (cert_…).

    Body

    application/json
    • certificate_pemstringrequired

      The certificate, PEM. Its intermediates may follow it here instead of in chain_pem.

    • chain_pemstring

      The intermediates, PEM, the certificate's issuer first. Optional.

    • private_key_pemstringrequired

      The unencrypted private key, PEM.

    Response 200

    The certificate.
    • idstringrequired

      e.g. cert_....

    • kindstringrequired

      public: issued and renewed by Pantech through a publicly trusted certificate authority. imported: yours, never renewed by Pantech.

      One of public, imported.

    • namesarray of stringrequired

      1 to 100 DNS names, lower-case, internationalised names in punycode.

    • common_namestring or nullrequired

      The first name when it is at most 64 characters, else null.

    • descriptionstringrequired

      Your note about it; may be empty.

    • key_typestringrequired

      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.

    • exportablebooleanrequired

      Whether the private key can be exported. Set at creation, never changed.

    • statusstringrequired

      renewing: a renewal is in progress while the current certificate keeps working.

      One of pending_validation, issuing, issued, renewing, expired, revoked, failed.

    • pending_reasonstring or nullrequired

      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_codestring or nullrequired

      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.

    • validationsarray of CertificateValidationrequired

      One per name, for a certificate Pantech issues; empty for an imported one.

      Show 6 child fields
      • namestringrequired

        The name, as on the certificate.

      • methodstringrequired

        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_idstring or nullrequired

        The Pantech DNS zone (dnsz_…) for pantech_dns; null otherwise.

      • cname_namestring or nullrequired

        For cname: the name of the CNAME to add, e.g. _acme-challenge.example.com.

      • cname_targetstring or nullrequired

        For cname: what the CNAME points at. It is the same for every certificate of your organization naming this name.

      • statusstringrequired

        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_atstring or nullrequired

      While a first issue waits for its CNAMEs: when it fails validation_timeout.

    • issuerstring or nullrequired

      The issuing certificate authority's name, as written in the certificate.

    • serial_numberstring or nullrequired

      Hexadecimal.

    • fingerprint_sha256string or nullrequired

      SHA-256 of the certificate, lower-case hex.

    • not_beforestring or nullrequired

      Start of validity.

    • not_afterstring or nullrequired

      End of validity.

    • issued_atstring or nullrequired

      When this certificate was last issued or imported.

    • renew_afterstring or nullrequired

      When Pantech starts renewing it (30 days before not_after); null for an imported certificate.

    • renewal_statusstring or nullrequired

      For a certificate Pantech issues, once issued; null otherwise.

      One of scheduled, in_progress, failing, null.

    • in_use_byarray of CertificateUsagerequired

      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.

      Show 2 child fields
      • typestringrequired

        What uses it, e.g. load_balancer.

      • idstringrequired

        Its id.

    • revocation_pendingbooleanrequired

      True between a revoke request and the authority confirming it.

    • revoked_atstring or nullrequired

      When it was revoked.

    • created_atstringrequired

      When it was requested or imported.

    • updated_atstringrequired

      Last change.

    • versionintegerrequired

      Increments on every change.

    Errors

    • 400IDEMPOTENCY_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.
    • 401UNAUTHENTICATED: 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.
    • 403INSUFFICIENT_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.
    • 404CERTIFICATE_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.
    • 409CERTIFICATE_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.
    • 413REQUEST_TOO_LARGE: the body is larger than 144 KiB. Send a smaller request.
    • 422CERTIFICATE_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.
    • 429RATE_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.
    • 503CERTIFICATES_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.

    Every code is explained in Errors.

    Authorization
    Path
    Body
    Idempotency
    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
    {
      "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
    }

    Export a certificate and its private key

    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.

    POST/public/v1/certificates/{certificate_id}/export
    Write keyNeeds Idempotency-KeyReturns200OK

    Headers

    • Authorizationstringrequired

      Bearer and your API key: Bearer PAN_….

    • Idempotency-Keystringrequired

      A new value, such as a UUID, for each change. Resend with the same value to retry safely.

      At most 255 characters.

    Path parameters

    • certificate_idstringrequired

      The certificate's id (cert_…).

    Response 200

    The certificate with its private key.
    • certificate_pemstringrequired

      The certificate, PEM.

    • chain_pemstringrequired

      The intermediates, PEM; may be empty for an imported certificate without them.

    • private_key_pemstringrequired

      The private key, PEM: PKCS #8 for a certificate Pantech issued, as imported otherwise.

    • not_afterstringrequired

      End of validity.

    Errors

    • 400IDEMPOTENCY_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.
    • 401UNAUTHENTICATED: 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.
    • 403INSUFFICIENT_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.
    • 404CERTIFICATE_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.
    • 409CERTIFICATE_NOT_EXPORTABLE: the certificate was created without exportable: true; its key never leaves Pantech. CERTIFICATE_NOT_ISSUED: the certificate has not been issued yet.
    • 429RATE_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.
    • 503CERTIFICATES_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.

    Every code is explained in Errors.

    Authorization
    Path
    Idempotency
    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
    {
      "certificate_pem": "certificate-pem",
      "chain_pem": "chain-pem",
      "private_key_pem": "private-key-pem",
      "not_after": "2026-10-03T09:30:00Z"
    }

    Revoke a certificate

    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.

    POST/public/v1/certificates/{certificate_id}/revoke
    Write keyNeeds Idempotency-KeyReturns202Accepted

    Headers

    • Authorizationstringrequired

      Bearer and your API key: Bearer PAN_….

    • Idempotency-Keystringrequired

      A new value, such as a UUID, for each change. Resend with the same value to retry safely.

      At most 255 characters.

    Path parameters

    • certificate_idstringrequired

      The certificate's id (cert_…).

    Body

    application/json
    • reasonstring

      Default unspecified.

      One of unspecified, key_compromise.

    Response 202

    The certificate, with revocation_pending: true.
    • idstringrequired

      e.g. cert_....

    • kindstringrequired

      public: issued and renewed by Pantech through a publicly trusted certificate authority. imported: yours, never renewed by Pantech.

      One of public, imported.

    • namesarray of stringrequired

      1 to 100 DNS names, lower-case, internationalised names in punycode.

    • common_namestring or nullrequired

      The first name when it is at most 64 characters, else null.

    • descriptionstringrequired

      Your note about it; may be empty.

    • key_typestringrequired

      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.

    • exportablebooleanrequired

      Whether the private key can be exported. Set at creation, never changed.

    • statusstringrequired

      renewing: a renewal is in progress while the current certificate keeps working.

      One of pending_validation, issuing, issued, renewing, expired, revoked, failed.

    • pending_reasonstring or nullrequired

      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_codestring or nullrequired

      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.

    • validationsarray of CertificateValidationrequired

      One per name, for a certificate Pantech issues; empty for an imported one.

      Show 6 child fields
      • namestringrequired

        The name, as on the certificate.

      • methodstringrequired

        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_idstring or nullrequired

        The Pantech DNS zone (dnsz_…) for pantech_dns; null otherwise.

      • cname_namestring or nullrequired

        For cname: the name of the CNAME to add, e.g. _acme-challenge.example.com.

      • cname_targetstring or nullrequired

        For cname: what the CNAME points at. It is the same for every certificate of your organization naming this name.

      • statusstringrequired

        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_atstring or nullrequired

      While a first issue waits for its CNAMEs: when it fails validation_timeout.

    • issuerstring or nullrequired

      The issuing certificate authority's name, as written in the certificate.

    • serial_numberstring or nullrequired

      Hexadecimal.

    • fingerprint_sha256string or nullrequired

      SHA-256 of the certificate, lower-case hex.

    • not_beforestring or nullrequired

      Start of validity.

    • not_afterstring or nullrequired

      End of validity.

    • issued_atstring or nullrequired

      When this certificate was last issued or imported.

    • renew_afterstring or nullrequired

      When Pantech starts renewing it (30 days before not_after); null for an imported certificate.

    • renewal_statusstring or nullrequired

      For a certificate Pantech issues, once issued; null otherwise.

      One of scheduled, in_progress, failing, null.

    • in_use_byarray of CertificateUsagerequired

      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.

      Show 2 child fields
      • typestringrequired

        What uses it, e.g. load_balancer.

      • idstringrequired

        Its id.

    • revocation_pendingbooleanrequired

      True between a revoke request and the authority confirming it.

    • revoked_atstring or nullrequired

      When it was revoked.

    • created_atstringrequired

      When it was requested or imported.

    • updated_atstringrequired

      Last change.

    • versionintegerrequired

      Increments on every change.

    Errors

    • 400IDEMPOTENCY_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.
    • 401UNAUTHENTICATED: 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.
    • 403INSUFFICIENT_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.
    • 404CERTIFICATE_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.
    • 409CERTIFICATE_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.
    • 413REQUEST_TOO_LARGE: the body is larger than 64 KiB. Send a smaller request.
    • 422VALIDATION_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.
    • 429RATE_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.
    • 503CERTIFICATES_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.

    Every code is explained in Errors.

    Authorization
    Path
    Body
    Idempotency
    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
    {
      "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
    }

    Was this page helpful?

    Updated