OpenAPI 3.0.0raw.githubusercontent.com2026-08-0915378562.5 KB

c2d0eb64b01a

Agent Versioning - Branches

Cancel in-flight publish

Cancel a publish that is currently scanning. Idempotent. Returns 200 even if no scan is active.

post/agent/{id}/branches/{branchId}/draft/publish/cancel

Path parameters

idstring required

The agent ID.

branchIdstring required

The branch ID.

Response

Cancel processed.

statusboolean

Example response

{
  "status": true,
  "data": {
    "cancelled": true
  }
}