Skip to main content

Enrollment Key

The enrollment key is a long-lived API key used by Agent Charley during device registration. It is separate from user JWTs.

Get Enrollment Key

Response

Rotate Enrollment Key

Generates a new enrollment key and invalidates the previous one.

Response

Revoke Enrollment Key

Deletes the enrollment key entirely. New device enrollments are blocked until a new key is generated.

Response

204 No Content

Enrollment Codes

One-time codes used to enroll specific devices. Codes expire after 24 hours.

Generate Enrollment Code(s)

Request Body

Response

Generate and Email a Code

Generates a single code and sends it to the specified email address with installation instructions.

Request Body

Response

200 OK

Device Enrollment (Agent)

Called by Agent Charley during the charley enroll command. Uses the enrollment key for authentication (not a user JWT).

Request Headers

Request Body

Response

Errors