Skip to content

Instantly share code, notes, and snippets.

@majirosstefan
Created September 19, 2021 12:06
echo "Cancelling Appcenter Build"
echo $API_TOKEN
echo $APP_NAME
echo $APPCENTER_BUILD_ID
curl -iv "https://appcenter.ms/api/v0.1/apps/$OWNER_NAME/$APP_NAME/builds/$APPCENTER_BUILD_ID" \
-X PATCH \
-d "{\"status\":\"cancelling\"}" \
--header 'Content-Type: application/json' \
--header "X-API-Token: $API_TOKEN"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment