ohyay

learn ohyay

Welcome to the ohyay support hub, where you'll find guides and documentation to help you start building in ohyay as quickly as possible. Let's jump right in!

Get Started    

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.

Updated 2 months ago

UPDATE USERS


Suggested Edits are limited on API Reference Pages

You can only suggest edits to Markdown body content, but not to the API spec.