Trim dataset
cURL
curl --request POST \ --url https://api.axiom.co/v1/datasets/{dataset_name}/trim \ --header 'Authorization: Bearer <token>' \ --header 'Content-Type: application/json' \ --data '{ "maxDuration": "1h" }'
{ "numDeleted": 123 }
The access token received from the authorization server in the OAuth 2.0 flow.
Unique name of the dataset.
TrimResult
The response is of type object.
object
Was this page helpful?