Skip to main content

UpdateWorkspaceUserArgs

type UpdateWorkspaceUserArgs = {
role: WorkspaceRole;
userId: string;
workspaceId: string;
};

Arguments for updating a workspace user's role.

See

https://developer.todoist.com/api/v1/#tag/Workspace/operation/update_workspace_user_api_v1_workspaces__workspace_id__users__user_id__post

Properties

role

role: WorkspaceRole;

Updated role for the user.


userId

userId: string;

The user ID.


workspaceId

workspaceId: string;

The workspace ID.