API Stability Long-Term

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!

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

Show:
graphql
mutation {
  deleteReadonlyToken( 
        id: "ILLF8JldGGP6tVspPuRtifX7ZGiHveGV",
        token: "5ZZE0O3v9INHHe9accQiXDxe"
  )
  {result}
}
Example Responses
Show:
json
{
  "data": {
    "deleteReadonlyToken": {
      "result": true
    }
  }
}

Returned Datatypes

BooleanResultType has a simple, boolean parameter. See the example above to understand better.

Table: BooleanResultType

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 24, 2024
resultsbooleanyes Long-TermWhether the mutation was performed.