Request command cancellation
POST/api/box/v1/{boxId}/executions/{executionId}/cancel
Cancellation preserves execution identity and does not undo external effects or manufacture an exit code. It may still return running/reconciliation until durable termination evidence exists. Sandbox cancellation fences the command without implicitly stopping its lease; explicitly stop the runtime window to stop allocation billing. Recovery remains available for inactive resources.
组织 API Key 鉴权
Authorization: Bearer $SINECLOUD_API_KEY所需权限: boxRun
参数
boxId· path · 必填- Existing Box resource ID selected in Console, not its parent product activation ID.
executionId· path · 必填- Existing executionId in this Box.
响应
200- Observed execution after cancellation request.
400- Invalid fields, identity, path, cursor or query. Unknown/duplicate fields are rejected where validated.
401- Missing, invalid, expired or revoked organization credential.
403- Current issuer membership, product scope, project, resource lifecycle or entitlement denies access.
404- Resource, execution, snapshot, restore or file not found within the authorized organization.
409- State/identity conflict or unresolved execution. Observe the original durable identity; do not create replacement work to bypass uncertainty.
500- The request could not be completed. Preserve any durable identity before retrying.
503- Runtime, deployment or recovery evidence is unavailable. Read existing status before retrying an uncertain mutation.