Skip to Content
Xeonr Developer Docs
API SpecificationUpdater

Delete a target

POST
/xeonr.updater.v1.UpdaterService/DeleteTarget

Removes a target from the app. A target still referenced by a release on its branch is refused with FAILED_PRECONDITION: move or delete those releases first. An unknown target 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
targetId?string
Length1 <= length
[key: string]?never

Response Body

application/json

application/json

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