Issue an enrollment token

Creates an additional enrollment token for your organization; existing tokens stay valid. An enrollment token is what a
device presents when it first enrolls. In most cases you do not need this call: the MDM package generated by
POST /api/aispm/v1/mdm-package already carries a token. Use it when you want a separate token with its own expiry.

The token value is returned once, in this response, and cannot be retrieved again. Requires an Admin user of the organization.

Responses: 201 — the new token; 400{ "error" }: validDays out of range;
409{ "error" }: your organization is not yet enabled for AI-agent discovery; contact MineOS support.

Recent Requests
Log in to see full request history
TimeStatusUser Agent
Retrieving recent requests…
LoadingLoading…
Body Params

The lifetime of the token to issue. Your organization is derived from the call, not from the body.

int32

How many days the token stays valid, from 1 to 365.

Headers
string
enum
Defaults to application/json-patch+json

Generated from available request content types

Allowed:
Responses

Language
Credentials
Header
URL
LoadingLoading…
Response
Click Try It! to start a request and see the response here! Or choose an example:
application/json