cURL
curl --request POST \ --url https://api.mapademics.com/v1/program-builder/runs/{runId}/cancel \ --header 'X-API-Key: <api-key>'
{ "message": "Optimization cancelled successfully" }
Cancels an in-progress credential optimization job
API key for authentication
Trigger.dev run ID to cancel
Optimization cancelled successfully
"Optimization cancelled successfully"
Was this page helpful?