admin.users.assign
method
Usage info
This Admin API assigns a user to a workspace. If the user has never been a member of the workspace, they will be added. If they've previously been removed or left the workspace, the user will be reinstated as a member. If this method is used on a workspace-level user who is deactivated on the org level, the user will be reactivated on both the workspace and the org level.