removeAllRoles

Remove all PB Cycle roles from a member. By doing this the member will loose access to the PB Cycle. This action is not recoverable, you'll need to add the member again by inviting they once again to the PB Cycle.

Access level: admin.

Possible errors#

In case of error you could receive any of next errors:

ErrorCodeDescription
Member could not be suspendedAGGER6058This error could happen when the mutation is called without the right permissions or when an error occurs during role removal.
removeAllRoles(
input: RemoveAllRolesInput!
): RemoveAllRolesPayload

Arguments#

input (RemoveAllRolesInput!)#

Parameters for RemoveAllRoles

Type#

RemoveAllRolesPayload#

Autogenerated return type of RemoveAllRoles