createFleetInstallToken()

The createFleetInstallToken() GraphQL mutation may be used to create a Fleet installation token.

Syntax

Below is the syntax for the createFleetInstallToken() mutation field:

graphql
createFleetInstallToken(
      name: string!,
      configId: string!
   ): FleetInstallationToken!

Returned Datatypes

As indicated by the syntax above, this mutation will return the token using the datatype, FleetInstallationToken. Below is a list of the parameters of that datatype:

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.