PATCH
/
api
/
v1
/
pki
/
certificate-templates
/
{certificateTemplateId}
curl --request PATCH \
  --url https://us.infisical.com/api/v1/pki/certificate-templates/{certificateTemplateId} \
  --header 'Content-Type: application/json' \
  --data '{
  "caId": "<string>",
  "pkiCollectionId": "<string>",
  "name": "<string>",
  "commonName": "<string>",
  "subjectAlternativeName": "<string>",
  "ttl": "<string>",
  "keyUsages": [
    "digitalSignature"
  ],
  "extendedKeyUsages": [
    "clientAuth"
  ]
}'
{
  "id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
  "caId": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
  "name": "<string>",
  "commonName": "<string>",
  "subjectAlternativeName": "<string>",
  "pkiCollectionId": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
  "ttl": "<string>",
  "keyUsages": [
    "<string>"
  ],
  "extendedKeyUsages": [
    "<string>"
  ],
  "projectId": "<string>",
  "caName": "<string>"
}

Path Parameters

certificateTemplateId
string
required

The ID of the certificate template to update.

Body

application/json

Response

200
application/json
Default Response

The response is of type object.