Delete an artifact from a draft release
Deletes one artifact, by platform and filename, from a draft release, along with its checksums in the release manifest. Artifacts of published releases cannot be deleted (FAILED_PRECONDITION); 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
Define the version of the Connect protocol
1Define the timeout, in ms
Request Body
application/json
1 <= length1 <= length1 <= length1 <= lengthResponse Body
application/json
application/json
curl -X POST "https://updater.xeonr.io/xeonr.updater.v1.UpdaterService/DeleteArtifact" \ -H "Connect-Protocol-Version: 1" \ -H "Content-Type: application/json" \ -d '{}'{}Delete an app POST
Deletes the app's bucket with `force`, so its config, branches, releases, artifacts and distributions go with it. This cannot be undone. Afterwards every API key bound to the app is revoked at Xeonr Auth (best effort; a key bound only to a deleted app can no longer reach anything). Bucket administration: the caller's token needs write access and the `upl:bucket:manage` scope, else `PERMISSION_DENIED` (that scope is not yet delegated to the updater's console session); upl-im-api also requires the upl admin role in the owning team. API keys are refused.
Delete a branch POST
Removes an empty branch from the app. A branch that still has releases or targets is refused with `FAILED_PRECONDITION`: delete them first. An unknown branch 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.