Javascript
import PiClient from 'withpi'; const client = new PiClient({ apiKey: 'My API Key', }); const response = await client.data.generateInputResponsePairs.cancel('job_id'); console.log(response);
"<string>"
Cancels a Generation Input-Response Pairs job
Successful Response
The response is of type string.
string