Skip to main content

fork

client.apps.fork(data: ForkAppRequest): Promise<unknown>

Forks an existing application.

Creates a copy of an app that can be independently modified and customized. Useful for creating variants of existing apps.

Parameters

ParameterTypeRequiredDescription
dataForkAppRequestYesThe fork configuration

Returns

Promise<unknown> — A promise that resolves when the app has been forked

Example

import { CodeBoltClient } from '@codebolt/clientsdk';

const client = new CodeBoltClient();

const result = await client.apps.fork(/* ForkAppRequest */);
console.log(result);