Skip to Content
Xeonr Developer Docs
API SpecificationUpdater

Delete a draft release

POST
/xeonr.updater.v1.UpdaterService/DeleteRelease

Deletes a draft release and its uploaded artifacts. Published releases cannot be deleted (FAILED_PRECONDITION): rescind them instead. An unknown release is NOT_FOUND.

The caller needs write access to the app's bucket (a signed-in person's token carrying upl:uploads:manage); a read-only token gets PERMISSION_DENIED, and so does an API key.

Header Parameters

Connect-Protocol-Version*number

Define the version of the Connect protocol

Value in1
Connect-Timeout-Ms?number

Define the timeout, in ms

Request Body

application/json

bucketId?string
Length1 <= length
releaseId?string
Length1 <= length
[key: string]?never

Response Body

application/json

application/json

curl -X POST "https://updater.xeonr.io/xeonr.updater.v1.UpdaterService/DeleteRelease" \  -H "Connect-Protocol-Version: 1" \  -H "Content-Type: application/json" \  -d '{}'
{}