The revokePendingUser() GraphQL mutation is used to revoke a pending user. Once revoked, the invitation link sent to the user becomes invalid.

For more information on user authorization, see the Manage users & permissions documentation page.

Syntax

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

graphql
revokePendingUser(
     input: TokenInput!
   ): boolean!

Given Datatypes

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

Table: TokenInput

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.
tokenstringyes The unique token to use.