curl --request POST \
--url https://api.example.com/api/v2/projects/{project_id}/prompt-optimization-jobs/{job_id}/cancel \
--header 'Authorization: Bearer <token>'{}Only jobs that have not yet completed can be cancelled.
curl --request POST \
--url https://api.example.com/api/v2/projects/{project_id}/prompt-optimization-jobs/{job_id}/cancel \
--header 'Authorization: Bearer <token>'{}