PATCH
/
api
/
v1
/
ssh
/
certificate-templates
/
{certificateTemplateId}
curl --request PATCH \
  --url https://us.infisical.com/api/v1/ssh/certificate-templates/{certificateTemplateId} \
  --header 'Content-Type: application/json' \
  --data '{
  "status": "active",
  "name": "<string>",
  "ttl": "<string>",
  "maxTTL": "<string>",
  "allowedUsers": [
    "<string>"
  ],
  "allowedHosts": [
    "<string>"
  ],
  "allowUserCertificates": true,
  "allowHostCertificates": true,
  "allowCustomKeyIds": true
}'
{
  "id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
  "sshCaId": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
  "status": "<string>",
  "name": "<string>",
  "ttl": "<string>",
  "maxTTL": "<string>",
  "allowedUsers": [
    "<string>"
  ],
  "allowedHosts": [
    "<string>"
  ],
  "allowCustomKeyIds": true,
  "allowUserCertificates": true,
  "allowHostCertificates": true
}

Path Parameters

certificateTemplateId
string
required

The ID of the SSH certificate template to update.

Body

application/json

Response

200
application/json
Default Response

The response is of type object.