Update Users

URL

https://us-central1-ohyay-prod-d7acf.cloudfunctions.net/ohyayapi/update-users

Request Format

interface UpdateUsersRequest {
  userId: string;
  wsid: string;
  editorsToRemove?: string[]; // Emails
  editorsToAdd?: {
    email: string;
    addToMyWorkspaces?: boolean;
    directorModeOnly?: boolean;
  }[];
  tagUpdates?: {
    email: string;
    toAdd?: string[];
    toRemove?: string[];
  }[];
  backpackUpdates?: {
    email: string;
    add?: {
      cloneElement: boolean;
      elementId: string;
      roomId: string;
    }
  }[];
}

Response Format

A 200 response code is returned on success.