Changes data
quotecloud_delete_custom_data_definition
Delete a company-wide custom data item definition. Always a soft delete: the item is hidden from every list and picker, its stored values are kept, and quotecloud_restore_custom_data_definition brings it back. Dangerous: always answered first with status confirmation_required, a preview stating how many templates and documents use the item, and a one-time confirmToken; re-send the identical arguments with the token to apply. Writes company settings, requires customData:write, only runs when customData.manage is enabled, and needs the company owner or manageCompanySettings. Refuses definitions scoped to one document; remove those with quotecloud_remove_document_data_item.
Inputs
dataItemIdRequiredThe QC_dataItems id reported by quotecloud_list_custom_data_definitions. string
confirmTokenOptionalOne-time code from the preview. Send it with otherwise identical inputs to run the change. string