The rotateToken() GraphQL mutation may be used to rotate a token in LogScale.

For more information on access tokens of various types, see the Ingest Tokens documentation page.

Syntax

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

graphql
rotateToken(
     input: RotateTokenInputData!
   ): string!

Given Datatypes

For the given datatype, RotateTokenInputData, there are several parameters that may be given. Below is a list of them along with their datatypes and a description of each:

Table: RotateTokenInputData

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.
Table last updated: Sep 19, 2024
idstringyes The unique identifier of the token to rotate.