Update field
Updates the unit, description, and hidden settings of a field. All three are replaced, so omitted values are cleared. The name and type in the body are ignored.
Parameters
| Property | Type | Location | Description |
|---|---|---|---|
dataset_ | stringRequired | path | |
field_ | 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
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
200Updated field.400A metrics dataset or a dataset managed by Axiom.403Forbidden404The dataset doesn't exist or the field isn't in its schema.| 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 |