Overview

Create map field

Create map field.

POST/v2/datasets/{dataset_id}/mapfields
Features

Send the token in the Authorization: Bearer API_TOKEN header. See Tokens for which token types this endpoint accepts.

Input2
Authorizationheaderrequired
Sent from your browser straight to the API — never to Docsbook, never stored.
dataset_idstring · pathrequired
(path)
namestring · bodyrequired
Output1
namestring
Responses
200A mapfield, described by a name
Example input
curl -X POST 'https://api.axiom.co/v2/datasets/{dataset_id}/mapfields' \
  -H 'Authorization: Bearer API_TOKEN' \
  -H 'Content-Type: application/json' \
  -d '{"name":"fieldname"}'
Example output
{
  "name": "fieldname"
}

Updated

Was this page helpful?