WebCars

Element

AnnonceLogs

Forms

TipcarsLogs

IframeViewCounter

TechnicalCertificateRequest

AdvertisingCars

Leads

Ip

OfferedCars

MobileDeLogs

ViewCounter

Aos

Eshop

SautoLogs

Cc

Marketing

MaternaSmsStatus

Callcentrum

WebLeads

LeadsFb

CarVideos

/v1/car-videos/cleanup
DELETE
secured

Description

Delete videos of cars sold more than 10 days ago

Format

json (application/json)

Methods

DELETE

Request

Authorization: Basic base64(username:password)

No request body. Does the same as the nightly cron - deletes videos of
cars sold more than 10 days ago, orphan files and the record of which
cars the queue handed out more than 30 days ago.

curl -u user:password -X DELETE https://api.autoesa.cz/v1/car-videos/cleanup

Response codes

200 (Success)
401 (Invalid authentication)

Example response

{
    "status": "ok",
    "message": "Deleted 12 video(s) of cars sold more than 10 days ago.",
    "deletedCount": 12
}