Delete fields
Queues the deletion of the listed fields from the dataset schema. Deleted values stay in storage but can't be queried, and ingesting a deleted field again recreates it. You can delete fields once every 5 minutes per dataset.
Parameters
| Property | Type | Location | Description |
|---|---|---|---|
dataset_ | stringRequired | path |
Body
application/json| Property | Type | Description |
|---|---|---|
fields | string[]Required |
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
202Field deletion queued.400Empty `fields`, a field that isn't in the schema, a system field or map field, a locked schema, or a metrics dataset.403Forbidden404Not Found429Fields were deleted from this dataset less than 5 minutes ago. Retry after the time in `Retry-After`.| Property | Type | Description |
|---|---|---|
fields | string[] | |
job | string |