CreateAxiomTokenInput
Defined in: tokens/tokens.ts:12
What to make an API token with (POST /v2/tokens).
Properties
Section titled “Properties”datasetCapabilities?
Section titled “datasetCapabilities?”
optionaldatasetCapabilities?:Record<string,Record<string,AxiomCapability>>
Defined in: tokens/tokens.ts:20
Dataset name to capability name (ingest, query) to what the token may do with it.
description?
Section titled “description?”
optionaldescription?:string
Defined in: tokens/tokens.ts:16
A description for the token.
expiresAt?
Section titled “expiresAt?”
optionalexpiresAt?:string
Defined in: tokens/tokens.ts:18
When the token stops working (ISO 8601). Omitted, the token never expires.
name:
string
Defined in: tokens/tokens.ts:14
The token’s name.
orgCapabilities?
Section titled “orgCapabilities?”
optionalorgCapabilities?:Record<string,AxiomCapability>
Defined in: tokens/tokens.ts:22
Organization capabilities (dashboards, monitors, …). Omit to grant none.