The deleteReadonlyToken() GraphQL mutation may be used to remove a shared link to a dashboard.

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

Syntax

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

graphql
deleteReadonlyToken(
      id: string!
      token: string!
   ): BooleanResultType!

Returned Datatypes

The returned datatype BooleanResultType has its own parameters. Below is a list of them along with their datatypes and a description of each:

Table: BooleanResultType

ParameterTypeRequired[a]DefaultDescription
resultsbooleanyes Whether the mutation was performed or not.

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