webflow.removeVariableCollection(collectionId)

Removes a variable collection by its ID.

Syntax

1webflow.removeVariableCollection(collectionId: string)

Parameters

  • collectionId: string - The ID of the variable collection to remove.

Returns

Promise<Boolean>

true if the variable collection was removed successfully, false otherwise.

Example

1const success = webflow.removeVariableCollection("collection-4a393cee-14d6-d927-f2af-44169031a25b");
2
3// returns true

Designer Ability

Designer AbilityLocaleBranchWorkflowSitemode
canModifyVariablesAnyMainCanvasDesign
Built with