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.
Example response
{
"status": true,
"data": {
"cancelled": true
}
}