Certificate Templates
Update
PATCH
/
api
/
v1
/
pki
/
certificate-templates
/
{certificateTemplateId}
Path Parameters
certificateTemplateId
string
requiredThe 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.
pkiCollectionId
string
The ID of the PKI collection to update the binding to the template.
name
string
The updated name of the template.
Minimum length:
1
commonName
string
The updated regular expression string for validating common names.
Required string length:
1 - 100
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.
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
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
Response
200 - application/json
id
string
requiredcaId
string
requiredname
string
requiredcommonName
string
requiredsubjectAlternativeName
string
requiredttl
string
requiredprojectId
string
requiredcaName
string
requiredpkiCollectionId
string | null
keyUsages
string[] | null
extendedKeyUsages
string[] | null