datasets
PUT /datasets/{dataset_id}/mapfields
Changed onReplaces the list of map fields in a dataset. Fields you leave out of the list stop being map fields. Not supported for metrics datasets.
Request
- Base URLhttps://api.axiom.co/v2
- AuthOAuth 2Authorization codehttps://accounts.google.com/o/oauth2/v2/authToken URLhttps://www.googleapis.com/oauth2/v4/tokenScopesdatasets|update
- TypeScriptA function with typed inputs. Its response is checked against the schema.
Path parameters
dataset_idstring required
Request body
string[] required
A list of map field names
Example request
[ "field1", "field2" ]
Response
Map field names after the update.
string[] required
A list of map field names
Example response
[ "field1", "field2" ]
Changes
- info
added the non-success response with the status
- info
added the non-success response with the status
- info
added the non-success response with the status
- info