Skip to main content

pan token

Available from the next release (v0.65.0).
Create, list or revoke scoped API tokens: bearer tokens limited to named scopes, for a program such as an event sidecar or a notifier instead of a full device session. See the scope table at Remote access.

create

Prints the id, name, scopes, and the token (odk_…) once, followed by:
Works without a running dashboard; it writes the registry directly.

list

Lists access tokens with columns ID NAME SCOPES CREATED LAST USED REVOKED. Works without a running dashboard. With no access tokens: `No access tokens. Create one with `pan token create`.`

revoke

Through the dashboard it prints:
With no dashboard running it writes the registry and prints:
An unknown id prints No access token with id <id>. and exits 1.