Update field
Parameters #
| Property | Type | Location | Description |
|---|---|---|---|
dataset_id | stringRequired | path | |
field_id | stringRequired | path |
Body #
application/json| Property | Type | Description |
|---|---|---|
description | string | Description of the field |
hidden | boolean | Whether the field is hidden |
name | stringRequired | Name of the field |
type | stringRequired | Type of the field |
unit | string | Unit of the field |
Request #
curl -X PUT 'https://api.axiom.co/v2/datasets/DATASET_ID/fields/FIELD_ID' \
-H 'Authorization: Bearer API_TOKEN' \
-H 'Content-Type: application/json' \
-d '{"description":"string","hidden":true,"name":"string","type":"string","unit":"string"}'Try itRun this request against your Axiom organization
Credentials stay in this browser tab and are only sent to Axiom when you run the request.
Response #
200DatasetField| Property | Type | Description |
|---|---|---|
description | string | Description of the field |
hidden | boolean | Whether the field is hidden |
name | stringRequired | Name of the field |
type | stringRequired | Type of the field |
unit | string | Unit of the field |