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

Path Parameters

certificateTemplateId
string
required

The ID of the SSH certificate template to update.

Body

application/json
allowCustomKeyIds
boolean

Whether or not to allow custom key IDs for certificates issued under this template.

allowedHosts
string[]

The list of allowed hosts for certificates issued under this template.

allowedUsers
string[]

The list of allowed users for certificates issued under this template.

allowHostCertificates
boolean

Whether or not to allow host certificates to be issued under this template.

allowUserCertificates
boolean

Whether or not to allow user certificates to be issued under this template.

maxTTL
string

The maximum time to live for issued certificates such as 1m, 1h, 1d, 1y, ...

name
string

The name of the certificate template.

Required string length: 1 - 36
status
enum<string>
Available options:
active,
disabled
ttl
string

The default time to live for issued certificates such as 1m, 1h, 1d, 1y, ...

Response

200 - application/json
allowCustomKeyIds
boolean
required
allowedHosts
string[]
required
allowedUsers
string[]
required
allowHostCertificates
boolean
required
allowUserCertificates
boolean
required
id
string
required
maxTTL
string
required
name
string
required
sshCaId
string
required
status
string
required
ttl
string
required

Was this page helpful?