API Reference
Platform docs

Home > @uniformdev/canvas > CanvasClient > updateComposition

CanvasClient.updateComposition() method

Updates or creates a Canvas component definition

Signature:

Parameters

ParameterTypeDescription
bodyOmit<CompositionPutParameters, 'projectId'>
optionsUpdateCompositionOptions(Optional)

Returns:

Promise<{ modified: string | null; }>

Join our community on Discord
Check out our public repositories on GitHub
Enjoy some video content on YouTube