DELETE
/api/v1/files/{slug}/versions/{version}Delete a file version
Deletes one earlier version for good and frees its space. Only the file's owner can do this, and never for the current version.
API token required30 per minute per IP
Guide: Replace and versions
Code samples and Try itPath parameters
#slugstringRequiredThe document's address: the part after
markdrop.in/.versionintegerRequired
Responses
#204Deleted.401No token, or the token is revoked or mistyped.403You can edit the file but don't own it.404That version isn't kept.409That's the current version. Restore another one first, or delete the file.422The request didn't validate.detaillists each problem, with where it is (loc) and why (msg).429Too many requests from your IP address. Wait the seconds inRetry-After.