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
Trim dataset
Trim dataset
Trim dataset
POST
/
datasets
/
{id}
/
trim
curl --request POST \
--url https://api.axiom.co/v2/datasets/{id}/trim \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '{
"maxDuration": "1h"
}'
This response does not have an example.
Authorizations
The access token received from the authorization server in the OAuth 2.0 flow.
Path Parameters
Body
application/json
Response
204
TrimResult
Was this page helpful?
curl --request POST \
--url https://api.axiom.co/v2/datasets/{id}/trim \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '{
"maxDuration": "1h"
}'
This response does not have an example.