Projects
Projects

Create Enrollment Token

Create a scoped host enrollment key and its profile atomically.

The Supervisor exchanges the key through OpAMP. The profile fixes the policy, environment and host allowance.

post/v1/projects/{project_id}/fleet/enrollment-tokens/

Request

Path parameters

project_idstring uuid required

Request body

installation_namestring nullable

Display name for a single host

namestring

Enrollment key label

assignment_idstring uuid nullable required
environmentstring required
expires_ininteger required

Token lifetime in days

max_installationsinteger

How many hosts can enroll with the token (default 1000)

Response

Successful Response

tokenstring password required

A bootstrap credential the Supervisor exchanges through OpAMP

Changes

No recorded changes to this operation across all 1 revision of this API.