Skip to main content

revokeRole

Revoke a role from a workspace seat. Rejects the revoke when it would leave the seat with no roles, or the workspace with no Workspace Admin. Un-mirrors the legacy access_modifier and invalidates the workspace permission cache. Gated by accord.workspace.member.update.

revokeRole(
input: RevokeRoleInput!
): RoleAssignmentPayload

Arguments

revokeRole.input ● RevokeRoleInput! non-null input

The exclusive input argument for this mutation. An object type, make sure to see documentation for this object’s fields.

Type

RoleAssignmentPayload object