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. 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​