"1");版本变化返回 VERSION_CONFLICT,不覆盖其他人的修改。Authorization: Bearer ********************{
"reason": "调整项目资源"
}curl --location '/api/v1/queue//cancel' \
--header 'Idempotency-Key;' \
--header 'If-Match;' \
--header 'X-Request-ID;' \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '{
"reason": "调整项目资源"
}'{
"data": {
"id": "d1e7ba60-4a87-4f12-b049-84942d64f057",
"kind": "post_api_v1_queue_queue_entry_id_cancel",
"state": "pending",
"target": {
"kind": "workspace",
"id": "d1e7ba60-4a87-4f12-b049-84942d64f057"
},
"cancelable": true,
"created_at": "2026-11-30T02:00:00Z",
"updated_at": "2026-11-30T02:00:00Z",
"version": 1
},
"meta": {
"request_id": "d1e7ba60-4a87-4f12-b049-84942d64f057"
}
}