ManagedTokenCreate
Body for minting a service-account API token.
namestringrequired
Human-readable token name (stored prefixed as API_KEY: {name})
Possible values: non-empty
scopeAccessTokenScope (string)
Token ability set. Defaults to api-key (read-only) when omitted. Use api-secret for a token that creates or modifies resources (e.g. provisioning agents/workflows, uploading datasets). unrestricted is rejected here.
Possible values: [api-key, api-secret, unrestricted]
Default value:
api-keyexpiresInnumber
Optional time-to-live in milliseconds. The token never expires when omitted.
ManagedTokenCreate
{
"name": "string",
"scope": "api-key",
"expiresIn": 0
}