datasets
Delete fields from a dataset
Changed onQueues 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.
post/datasets/{dataset_id}/delete-fields
Request
- Base URLhttps://api.axiom.co/v2
- AuthOAuth 2Authorization codehttps://accounts.google.com/o/oauth2/v2/authToken URLhttps://www.googleapis.com/oauth2/v4/tokenScopesvacuum|update
- TypeScriptA function with typed inputs. Its response is checked against the schema.
Path parameters
dataset_idstring required
Request body
Example request
{
"fields": [
"field1",
"field2"
]
}Response
Field deletion queued.
Example response
{
"fields": [
"field1",
"field2"
]
}Changes
- breaking
the
response's property type changed fromstringtointegerfor status
- breaking
- info
added the optional property
to the response with the status
- info