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.


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

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

idstringyes The unique identifier of the token to rotate.

[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.