Core API
Create Provisioning Token
Creates a new provisioning token for onboarding edge devices
POST
Creates a new provisioning token that can be used to onboard edge devices. The raw token is only returned once and should be saved securely.
The
token field is only returned at creation time. Store it immediately or use the setup_command on your device right away.Request Body
A descriptive name for the token (e.g., “Production Line 1”)
Number of days until the token expires. Set to
null for no expiration.If
true, the token will be automatically revoked after the first successful device provisioning.Response
Unique identifier for the token
The name provided when creating the token
The raw provisioning token (format:
apt_<hex>). Only returned once!Whether the token will auto-revoke after first use
ISO 8601 timestamp of creation
ISO 8601 timestamp when the token expires (null if never)
Ready-to-use shell command for device setup