v4

latestOpenAPI 3.0.32026-07-312,317012.2 MB
SSH Hosts

Register SSH Host

post/api/v1/ssh/hosts

Request body

projectIdstring required

The ID of the project to create the SSH host in.

hostnamestring required

The hostname of the SSH host.

aliasstring

The alias for the SSH host.

userCertTtlstring

The time to live for user certificates issued under this host.

hostCertTtlstring

The time to live for host certificates issued under this host.

userSshCaIdstring

The ID of the SSH CA to use for user certificates. If not specified, the default user SSH CA will be used if it exists.

hostSshCaIdstring

The ID of the SSH CA to use for host certificates. If not specified, the default host SSH CA will be used if it exists.

Response

Default Response

idstring uuid required
projectIdstring required
hostnamestring required
aliasstring nullable
userCertTtlstring required
hostCertTtlstring required
userSshCaIdstring uuid required
hostSshCaIdstring uuid required