Skip to main content

Deleting a draft release

This method allows deleting previously created drafts.

note

you can only delete versions that have not yet been published.

Interaction parameters

DELETE

https://public-api.rustore.ru/public/v1/application/{packageName}/version/{versionId}

AttributeTypeRequiredLocationDescription
Public-TokenstringYesheaderAccess token to Public API Rustore.
packageNamestringYespathApp package name
versionIdnumberYespathApp version

Response example

AttributeTypeRequiredDescriptionExample
codestringYesResponse codeerror/OK
messagestringNoDecoded response codeN/A
timestamptimestamptzYesResponse time2022-07-08T13:24:41.8328711+03:00

Request example

curl --location --request DELETE
'https://public-api.rustore.ru/public/v1/application/com.package.example/version/123' \
--header 'Content-Type: application/json' \
--header 'Public-Token: {YOURtoken}'