Skip to main content

updateRootAppState

client.application.updateRootAppState(data: UpdateRootAppStateRequest): Promise<void>

Updates the root application state.

Applies changes to the top-level application state, affecting global settings across all workspaces.

Parameters

ParameterTypeRequiredDescription
dataUpdateRootAppStateRequestYesThe root state update payload

Returns

Promise<void> — A promise that resolves when the state has been updated

Example

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

const client = new CodeBoltClient();

const result = await client.application.updateRootAppState(/* UpdateRootAppStateRequest */);
console.log(result);