saveWorkspaceUser Mutation
Upsert a workspace membership. The mutation first looks for an
existing WorkspaceUser - by workspaceUser.id, or by matching
workspaceUser.user.email or workspaceUser.userId within
workspaceUser.workspaceId. If none exists, a membership is created
exactly like createWorkspaceUser, inviting a brand-new user by
email when needed. If one exists and the caller may manage it
(workspace admin or organization admin), it is updated like
updateWorkspaceUser; if the caller may only view the workspace, the
existing record is returned unchanged instead of erroring.
See createWorkspaceUser for the input semantics, the optional
todoId/projectId/stackId/recipeId context arguments, the
allowed permissions values, and the per-organization user limit.
Returns the WorkspaceUser.
Arguments
#
Response
#
Returns WorkspaceUser .
Example
#
saveProjectSlices
setProjectDot
