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

ParameterTypeRequiredDefaultDescription
Some arguments may be required, as indicated in the Required column. For some fields, this column indicates that a result will always be returned for this column.
assignedConfigurationLogCollectorConfiguration  The assigned configuration. See LogCollectorConfiguration.
installationCommandsLogCollectorInstallCommandyes The installation commands. See LogCollectorInstallCommand.
namestringyes The name of the Fleet installation token.
tokenstringyes The Fleet installation token used.