POST
/
datasets
/
{dataset_name}
/
trim

Authorizations

Authorization
string
header
required

The access token received from the authorization server in the OAuth 2.0 flow.

Path Parameters

dataset_name
string
required

Unique name of the dataset.

Body

application/json
maxDuration
string
required

Response

200 - application/json
numDeleted
integer
required

numDeleted has been deprecated on 2022-09-14. There is currently no way to tell how much was trimmed via the trim result. If you need to check how much was deleted you can either query the removed time range, or poll the dataset info endpoint.