Skip to main content
POST
Create an enrollment token

Authorizations

Authorization
string
header
required

An opaque access token from /login or /refresh. Tokens are checked against the database on every request, so revocation is immediate.

Body

application/json
accounts
string[]
required

The Unix accounts this host will manage.

Minimum array length: 1
label
string
ttl_hours
integer

Response

The token

token
string
expires_at
string<date-time>