Cancels a running deployment after verifying that the referenced project belongs to the authenticated organization. Use this when a build is stuck, misconfigured, or no longer needed.
curl --request POST \
--url https://api.case.dev/applications/v1/deployments/{id}/cancel \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '
{
"projectId": "<string>"
}
'Was this page helpful?
curl --request POST \
--url https://api.case.dev/applications/v1/deployments/{id}/cancel \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '
{
"projectId": "<string>"
}
'