Skip to content
Start here

Client Certificates

List Client Certificates
client.ClientCertificates.List(ctx, params) (*V4PagePaginationArray[ClientCertificate], error)
GET/zones/{zone_id}/client_certificates
Client Certificate Details
client.ClientCertificates.Get(ctx, clientCertificateID, query) (*ClientCertificate, error)
GET/zones/{zone_id}/client_certificates/{client_certificate_id}
Create Client Certificate
client.ClientCertificates.New(ctx, params) (*ClientCertificate, error)
POST/zones/{zone_id}/client_certificates
Reactivate Client Certificate
client.ClientCertificates.Edit(ctx, clientCertificateID, params) (*ClientCertificate, error)
PATCH/zones/{zone_id}/client_certificates/{client_certificate_id}
Revoke Client Certificate
client.ClientCertificates.Delete(ctx, clientCertificateID, body) (*ClientCertificate, error)
DELETE/zones/{zone_id}/client_certificates/{client_certificate_id}
ModelsExpand Collapse
type ClientCertificate struct{…}
ID stringoptional

Identifier.

maxLength32
Certificate stringoptional

The Client Certificate PEM

CertificateAuthority ClientCertificateCertificateAuthorityoptional

Certificate Authority used to issue the Client Certificate

ID stringoptional
Name stringoptional
CommonName stringoptional

Common Name of the Client Certificate

Country stringoptional

Country, provided by the CSR

Csr stringoptional

The Certificate Signing Request (CSR). Must be newline-encoded.

ExpiresOn stringoptional

Date that the Client Certificate expires

FingerprintSha256 stringoptional

Unique identifier of the Client Certificate

IssuedOn stringoptional

Date that the Client Certificate was issued by the Certificate Authority

Location stringoptional

Location, provided by the CSR

Organization stringoptional

Organization, provided by the CSR

OrganizationalUnit stringoptional

Organizational Unit, provided by the CSR

SerialNumber stringoptional

The serial number on the created Client Certificate.

Signature stringoptional

The type of hash used for the Client Certificate..

Ski stringoptional

Subject Key Identifier

State stringoptional

State, provided by the CSR

Status Statusoptional

Client Certificates may be active or revoked, and the pending_reactivation or pending_revocation represent in-progress asynchronous transitions

ValidityDays int64optional

The number of days the Client Certificate will be valid after the issued_on date