curl --request PUT \ --url https://api.axiom.co/v2/datasets/{dataset_id}/mapfields \ --header 'Authorization: Bearer <token>' \ --header 'Content-Type: application/json' \ --data '[ "field1", "field2" ]'
[ "field1", "field2" ]
In the body of the API request that you send to this endpoint, specify a list of field names:
The access token received from the authorization server in the OAuth 2.0 flow.
A list of MapField-names
A list of map field names