Delete an artifact from a draft module release
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
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/DeleteModuleArtifact" \ -H "Connect-Protocol-Version: 1" \ -H "Content-Type: application/json" \ -d '{}'{}Delete a module POST
Removes a module definition. A module that still has releases on any branch is refused with `FAILED_PRECONDITION`: delete them first. An unknown module 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.
Delete a draft module release POST
Deletes a draft module release and its uploaded artifacts. Published module releases cannot be deleted (`FAILED_PRECONDITION`): rescind them instead. An unknown one 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.