The fleetInstallationToken() GraphQL query is used to get the Fleet installation token.

Syntax

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

graphql
fleetInstallationToken(
      id: string!
   ): FleetInstallationToken!

Returned Datatypes

The returned datatype FleetInstallationToken has its own parameters. Below is a list of them along with their datatypes and a description of each:

Table: FleetInstallationToken

ParameterTypeRequired[a]DefaultDescription
tokenstringyes The Fleet installation token used.
namestringyes The name of the Fleet installation token.
assignedConfigurationLogCollectorConfiguration  The assigned configuration (see LogCollectorConfiguration Table).
installationCommandsLogCollectorInstallCommandyes The installation commands (see LogCollectorInstallCommand Table).

[a] Some arguments may be required, as indicated in this column. For some fields, this column indicates that a result will always be returned for it.