Trim dataset
post
/v1/datasets/{id}/trim
Path Parameters
Param | Type | Description |
---|---|---|
id | string | required |
Body Parameters
Param | Type | Description |
---|---|---|
maxDuration | string | required |
Responses
200
TrimResult, an object with the following properties:Property | Type | Description |
---|---|---|
numDeleted | integer | 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. |
401
Forbidden, an object with the following properties:Property | Type | Description |
---|---|---|
code | string | |
message | string |