Skip to main content

updateEvent

plugin.calendar.updateEvent(params: IUpdateEventParams): Promise<IUpdateEventResponse>

Update an existing calendar event

Parameters​

ParameterTypeRequiredDescription
paramsIUpdateEventParamsYesEvent update parameters including eventId

Returns​

Promise<IUpdateEventResponse> — Promise resolving to the updated event

Example​

import plugin from '@codebolt/plugin-sdk';

const result = await plugin.calendar.updateEvent(/* IUpdateEventParams */);
console.log(result);