Skip to main content
POST
Enroll a Hetzner server for SSH health checks

Authorizations

factorize_session
string
cookie
required

Body

application/json
serverId
integer
required
Required range: x <= 9007199254740991
username
string
required
Required string length: 1 - 32
Pattern: ^[a-z_][a-z0-9_-]*$
hostFingerprint
string
required
Pattern: ^SHA256:[A-Za-z0-9+/]{43}$
clientInstallationId
string
Required string length: 1 - 512

Response

Enrollment and public key

serverId
integer
required
Required range: x <= 9007199254740991
username
string
required
Required string length: 1 - 32
Pattern: ^[a-z_][a-z0-9_-]*$
hostFingerprint
string
required
Pattern: ^SHA256:[A-Za-z0-9+/]{43}$
publicKey
string
required
clientInstallationId
string
Required string length: 1 - 512