updateFleetInstallTokenConfigId()

API Stability Short-Term

The updateFleetInstallTokenConfigId() GraphQL mutation may be used to change the unique identifier of a Fleet installation configuration token.

Syntax

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

graphql
updateFleetInstallTokenConfigId(
      token: string!,
      configId: string
   ): FleetInstallationToken!

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

Show:
graphql
mutation {
  updateFleetInstallTokenConfigId( 
       configId: "abc123",
       token: "Umem32d1JlvLlv7pxtsGz3o3Xu3LfHGH"
  )
  { name }
}
Example Responses
Show:
json
{
  "data": {
    "updateFleetInstallTokenConfigId": {
      "name": "my-token"
    }
  }
}

Returned Datatypes

For FleetInstallationToken, there are a few parameters that may be returned. 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.