Enrollment tokens: live ones, and those used or expired in the last 24 hours, without their secret
Generated from the OpenAPI contract. Sessions send the CSRF header on writes; API keys use a Bearer token. Authentication
GET
/api/v1/tenants/{tid}/enrollment-tokensEnrollment tokens: live ones, and those used or expired in the last 24 hours, without their secret (ADR 0133)
Permissions: server.manage.
Authentication: session cookie __Host-panel_session (contract default; see Authentication).
Parameters
| Name | In | Type | Required | Description |
|---|---|---|---|---|
tid | path | string | required |
Responses
200 Tokens
Content type: application/json
object
idstring requiredThe first 8 bytes of the token's hash, in hex
server_namestring requiredcreated_bystring requiredThe email of who made it
created_atstring (date-time) requiredexpires_atstring (date-time) requiredused_atstring (date-time) | null requiredpresetstring requiredstatestring requiredAllowed values:"live""used""expired"
Example
{
"items": [
{
"id": "string",
"server_name": "string",
"created_by": "string",
"created_at": "2026-01-01T00:00:00Z",
"expires_at": "2026-01-01T00:00:00Z",
"used_at": "2026-01-01T00:00:00Z",
"preset": "string",
"state": "live"
}
]
}default Error
Content type: application/json
codestring requiredmessagestring requireddetails_redactedboolean requiredcorrelation_idstring requiredretryableboolean required