createFleetInstallToken()

API Stability Long-Term

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!

Below is an example of how this mutation field might be used:

Show:
graphql
mutation {
  createFleetInstallToken(
        name: "my-token",
        configId: "123456")
  { token, jwtToken }
}

Returned Datatypes

FleetInstallationToken has a few parameters. Below is a list of them:

Table: FleetInstallationToken

ParameterTypeRequiredDefaultStabilityDescription
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.
Table last updated: Sep 25, 2024
assignedConfigurationLogCollectorConfiguration  Short-TermThe assigned configuration. See LogCollectorConfiguration.
installationCommandsLogCollectorInstallCommandyes Short-TermThe installation commands. See LogCollectorInstallCommand.
namestringyes Short-TermThe name of the Fleet installation token.
tokenstringyes Short-TermThe Fleet installation token used.