Skip to main content

Preview a data deletion from a timeless account

POST 

/v1/timeless-indices/:id/query-hits

Returns the number of documents that Delete data from a timeless account would delete for the same request. Nothing is deleted.

Must be run with an API token that has the Admin role. API tokens created before token roles were introduced have the same permissions as Admin.

Please ensure to change the region in the URL to match your account's region.

Request​

Path Parameters

Body

required
    optimizerIds int32[]required

    The IDs of the optimizers whose data to match. Send an empty list to match the data of every optimizer.

    timeFrameFrom date-time

    The start of the time range, in ISO 8601 format. Send it together with timeFrameTo, or leave both out to match any time.

    timeFrameTo date-time

    The end of the time range, in ISO 8601 format. Send it together with timeFrameFrom, or leave both out to match any time.

Responses​

successful operation. Returns the number of matching documents.

Schema

    integer

Loading...