Javascript
import PiClient from 'withpi'; const client = new PiClient({ apiKey: 'My API Key', }); const response = await client.scoringSystem.generate.cancel('job_id'); console.log(response);
"<string>"
Cancels a Generate Scoring Spec job
Successful Response
The response is of type string.
string