Annotation endpoints
API token endpoints
Dataset endpoints
Monitor endpoints
Notifier endpoints
Organization endpoints
Role-based access control endpoints
Starred queries endpoints
User endpoints
Dataset endpoints
Update field
Update field
PUT
/
datasets
/
{id}
/
fields
/
{fieldId}
curl --request PUT \
--url https://api.axiom.co/v2/datasets/{id}/fields/{fieldId} \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '{
"description": "<string>",
"hidden": true,
"name": "<string>",
"type": "<string>",
"unit": "<string>"
}'
{
"description": "<string>",
"hidden": true,
"name": "<string>",
"type": "<string>",
"unit": "<string>"
}
Authorizations
The access token received from the authorization server in the OAuth 2.0 flow.
Body
application/json
Response
200 - application/json
DatasetField
The response is of type object
.
Was this page helpful?
curl --request PUT \
--url https://api.axiom.co/v2/datasets/{id}/fields/{fieldId} \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '{
"description": "<string>",
"hidden": true,
"name": "<string>",
"type": "<string>",
"unit": "<string>"
}'
{
"description": "<string>",
"hidden": true,
"name": "<string>",
"type": "<string>",
"unit": "<string>"
}