v45

latestOpenAPI 3.0.0raw.githubusercontent.com2026-08-0114775543.6 KB
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
  }
}