removeRole

Remove a role from a PB Cycle member. If a role is removed from a member, the member will lost the rights an permissions of that role. This mutation will return an error if specified party id is not a member of the PB Cycle .To revert the change you'll need to call the addRole mutation.

Access level: admin.

Possible errors#

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

ErrorCodeDescription
Role could not be removedAGGER6057Is not a member of this PB Cycle or is the only admin in the PB Cycle.
Role not foundGRER0000The role does not exists for the member or PB cycle.
removeRole(
input: RemoveRoleInput!
): RemoveRolePayload

Arguments#

input (RemoveRoleInput!)#

Parameters for RemoveRole

Type#

RemoveRolePayload#

Autogenerated return type of RemoveRole