Skip to content
Last update: April 11, 2024

deleteUsers mutation

This mutation deletes users.

Arguments

The InputDeleteUserType! represents the input structure for deleting user data.

Field Description
userNames [String]! An array of strings representing the user names to be deleted.

Possible returns

Possible return Description
IdentityResultType The result of an identity-related operation.
1
2
3
4
5
6
7
8
9
mutation($command: InputDeleteUserType!) {
  deleteUsers(command: $command) {
    succeeded
    errors{
      code
      description
    }
  }
}
1
2
3
4
5
{
  "command": {
    "userNames": ["graphqlTestUserName2"]
  }
}