Skip to main content

Delete artifacts from the delivery cache by size, date, or catalog id(s)

DELETE 

/api/v1/delivery/cache/delete

Provide exactly one of size, date or catalogId.
size – amount of space to free, in bytes. Deletes cached deliveries starting from the oldest (by creation date) until at least the given number of bytes is freed.
date – a MM/DD/YY string (year may also be 4 digits) using /, a backslash or . as separator, e.g. 08/10/26. Deletes every delivery created on or before this date.
catalogId – a single catalog id or an array of ids to delete, in the format <projectId&gt;.&lt;name&gt;@&lt;version&gt;, e.g. 42.example_project@1.4.0.

Request​

Body

required

    size number

    Amount of space to free, in bytes. Deletes cached deliveries starting from the oldest (by creation date) until at least this many bytes have been freed.

    date string

    Cut-off date. Deletes every cached delivery created on or before this date. Format is MM/DD/YY (year may also be 4 digits) using /, \ or . as separator, e.g. 08/10/26, 08\10\26 or 08.10.26. The same separator must be used throughout.

    catalogId

    object

    Catalog id, or array of catalog ids, to delete from the cache. A catalog id has the format <projectId>.<name>@<version>, e.g. 42.example_project@1.4.0.

    oneOf

    string

Responses​

Delete request accepted; cache cleanup is performed asynchronously.

Loading...