delete
codebolt.fileUpdateIntent.delete(id: undefined): Promise<{ success: boolean }>
Deletes a file update intent permanently.
Parameters
id(unknown): The unique identifier of the file update intent.
Returns
Promise<{ success: boolean }>: A promise that resolves with deletion status.
Examples
Example 1: Delete Intent
const result = await codebolt.fileUpdateIntent.delete('intent-id-123');
if (result.success) {
console.log('Intent deleted');
}
Notes
- Permanent deletion, use with caution
- Prefer complete/cancel for active intents
- Use delete for cleanup of old intents