Skip to main content
axiom.replaceMapFields replaces the complete map-field list. Pass an empty fieldNames array to clear it; returns the resulting list.
automations/axiom-replace-map-fields.automation.ts

Inputs

datasetName selects the dataset by name or ID. fieldNames is the complete replacement list; it may be empty to remove every map-field designation.

Output

Returns the resulting map-field names as string[].

Permission and failures

The API token needs the organization-level datasets|update capability and access to the target dataset. Axiom rejects missing datasets and fields that cannot be configured as maps. This operation replaces the entire list and is not retried automatically after an ambiguous provider response.