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 thecharley enroll command. Uses the enrollment key for authentication (not a user JWT).
Request Headers
Request Body
Response
Errors
| Code | Description |
|---|---|
401 | Missing or invalid enrollment key |
400 | Invalid or expired enrollment code |
409 | Machine ID is already enrolled in another org |