API Stability Short-Term

The tokenForFleetManagement() GraphQL query is used to get the token for Fleet management.

Syntax

Below is the syntax for the tokenForFleetManagement() query field:

graphql
tokenForFleetManagement: string

There's only one given datatype and it accepts a string value. Below is an example to get the token used for registration for fleet management:

Show:
graphql
query {
  organization {
    ingestUrl: ingestUrl
  }
  tokenForFleetManagement: tokenForFleetManagement
}
Example Responses
Show:
json
{
  "data": {
    "organization": {
      "ingestUrl": "https://monitor.company.com"
    },
    "tokenForFleetManagement": "7393e172-e830-43e9-8ddf-921cd62619c7"
  }
}