PATCH
/
api
/
v1
/
pki
/
certificate-templates
/
{certificateTemplateId}

Path Parameters

certificateTemplateId
string
required

The ID of the certificate template to update.

Body

application/json
caId
string

The ID of the certificate authority to update the association with the template.

commonName
string

The updated regular expression string for validating common names.

Required string length: 1 - 100
extendedKeyUsages
enum<string>[]

The updated extended key usage constraint or default value for when template is used during certificate issuance.

Available options:
clientAuth,
serverAuth,
codeSigning,
emailProtection,
timeStamping,
ocspSigning
keyUsages
enum<string>[]

The updated key usage constraint or default value for when template is used during certificate issuance.

Available options:
digitalSignature,
keyEncipherment,
nonRepudiation,
dataEncipherment,
keyAgreement,
keyCertSign,
cRLSign,
encipherOnly,
decipherOnly
name
string

The updated name of the template.

Minimum length: 1
pkiCollectionId
string

The ID of the PKI collection to update the binding to the template.

subjectAlternativeName
string

The updated regular expression string for validating subject alternative names.

Required string length: 1 - 100
ttl
string

The updated max TTL for the template.

Response

200 - application/json
caId
string
required
caName
string
required
commonName
string
required
id
string
required
name
string
required
projectId
string
required
subjectAlternativeName
string
required
ttl
string
required
extendedKeyUsages
string[] | null
keyUsages
string[] | null
pkiCollectionId
string | null

Was this page helpful?