delete
client.orchestrator.delete(id: string): Promise<void>
Deletes an orchestrator instance permanently.
Removes the orchestrator and its configuration. Any active workflows managed by this orchestrator should be stopped before deletion.
Parameters
| Parameter | Type | Required | Description |
|---|---|---|---|
id | string | Yes | The unique identifier of the orchestrator to delete |
Returns
Promise<void> — A promise that resolves when the orchestrator has been deleted
Example
import { CodeBoltClient } from '@codebolt/clientsdk';
const client = new CodeBoltClient();
const result = await client.orchestrator.delete('id');
console.log(result);