removeBuildLabel

Remove a custom label by key. Other labels remain unchanged. Removing a label that does not exist succeeds, so the same request can be repeated.

POST /v1/removeBuildLabel
Authorization: Bearer <access-token>
Content-Type: application/json
{ "appId": "your-app-id", "buildId": "your-build-id", "key": "e2e" }

Supply your app ID, build ID, and the label's key. All three fields are required. See setBuildLabel for label key requirements.

Uses the shared API authentication rules. The app owner or a collaborator with current app access and build or release permission may remove labels.

Returns HTTP 200 with the remaining labels:

{ "appId": "your-app-id", "buildId": "your-build-id", "customLabels": {} }

A missing build returns 404, even when the requested key is absent. See getBuildLabels for the error contract.

curl -X POST "https://api.todesktop.com/v1/removeBuildLabel" \
  -H "Authorization: Bearer YOUR_ACCESS_TOKEN" \
  -H "Content-Type: application/json" \
  --data '{"appId":"your-app-id","buildId":"your-build-id","key":"e2e"}'