Skip to Content
Xeonr Developer Docs
API SpecificationUpdater

Delete an artifact from a draft module release

POST
/xeonr.updater.v1.UpdaterService/DeleteModuleArtifact

Deletes one artifact, by platform and filename, from a draft module release, along with its manifest entry. Artifacts of published module releases cannot be deleted (FAILED_PRECONDITION); an unknown module 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
moduleReleaseId?string
Length1 <= length
platform?string
Length1 <= length
filename?string
Length1 <= length
[key: string]?never

Response Body

application/json

application/json

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