cURL
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 }
active
disabled
1 - 36
Was this page helpful?