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;
    directorModeOnly?: boolean;
  }[];
  tagUpdates?: {
    email: string;
    toAdd?: string[];    // Tags to add
    toRemove?: string[]; // Tags to remove
  }[];
}

Response Format

A 200 response code is returned on success.


Did this page help you?