API Stability Long-Term

The updateSystemPermissionsTokenPermissions() GraphQL mutation may be used to update the permissions of a system permission token.

Syntax

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

graphql
updateSystemPermissionsTokenPermissions(
      input: UpdateSystemPermissionsTokenPermissionsInput!
   ): string!

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

Show:
graphql
mutation {
  updateSystemPermissionsTokenPermissions( input:
    { id: "abc123",
      permissions: [ ViewOrganizations ]
    } )
}
Example Responses
Show:
json
{
  "data": {
    "updateSystemPermissionsTokenPermissions": {
      "id": "abc123"
    }
  }
}

Given Datatypes

For UpdateSystemPermissionsTokenPermissionsInput, there are a couple of parameters that may be given. Below is a list of them along with a description of each:

Table: UpdateSystemPermissionsTokenPermissionsInput

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: Feb 26, 2025
idstringyes  The unique identifier for the token.
permissions[SystemPermission]yes  A list of system permissions. See SystemPermission.