curl --request POST \
--url https://api.egp.scale.com/v5/builds/{build_id}/cancel \
--header 'x-api-key: <api-key>'{
"detail": [
{
"loc": [
"<string>"
],
"msg": "<string>",
"type": "<string>",
"input": "<unknown>",
"ctx": {}
}
]
}Cancel a pending or running build.
Returns 202 Accepted — the actual cancellation happens asynchronously via a Temporal workflow.
curl --request POST \
--url https://api.egp.scale.com/v5/builds/{build_id}/cancel \
--header 'x-api-key: <api-key>'{
"detail": [
{
"loc": [
"<string>"
],
"msg": "<string>",
"type": "<string>",
"input": "<unknown>",
"ctx": {}
}
]
}