Skip to main content

assignRole

Assign a role to a workspace seat. Mirrors the assignment onto the legacy access_modifier during the cutover overlap and invalidates the workspace permission cache. Gated by accord.workspace.member.update.

assignRole(
input: AssignRoleInput!
): RoleAssignmentPayload

Arguments

assignRole.input ● AssignRoleInput! 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