CLONE WORKSPACE

URL

https://us-central1-ohyay-prod-d7acf.cloudfunctions.net/ohyayapi/clone-workspace

Request Format

interface CloneRequest {
  userId: string;
  wsid: string;  // The workspace to clone
  title: string; // The title of the new workspace
  region?: 'us-east' | 'us-west' | 'eu' | 'asia'; // Auto-assigned if not specified
  editors?: {
    email: string;
    directorModeOnly?: boolean;
  }[]; // Optional list of additional editors to add
  tags?: string[] // Optional list of tags
  tagsToRemove?: string[] // Optional list of tags to remove from the cloned space
}

Response Format

interface CloneResponse {
  wsid: string; // ID of the newly created clone
}

Did this page help you?