quotecloud_update_custom_data_definition
Change a company-wide custom data item definition: its label, type, default value, mandatory flag or options. Only the supplied fields change. Renaming is dangerous and requires confirmation: a call carrying label is answered with status confirmation_required, a preview that says how many templates and documents use the item, and a one-time confirmToken; re-send the identical arguments with that confirmToken to apply. A rename does not propagate: documents and templates that already hold the item keep the label they were created with, exactly as a rename on the settings page does. Changing the other fields applies immediately. 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 and deleted definitions.
Inputs
dataItemIdRequiredlabelOptionaltypeOptionaldefaultValueOptionalmandatoryOptionaloptionsOptionalconfirmTokenOptional