Delete a Job by ID.
TypeScript
import { IntunedClient } from "@intuned/client"; const client = new IntunedClient({ workspaceId: "123e4567-e89b-12d3-a456-426614174000", apiKey: process.env["INTUNED_API_KEY"] ?? "", }); async function run() { await client.projects.jobs.delete( "my-project", "my-sample-job", ); console.log("Request completed successfully"); } run();
{ "code": "unauthorized", "category": "user", "message": "<string>", "retirable": false, "correlationId": "<string>", "details": "<unknown>" }
API Key used to authenticate your requests. How to create one.
Your workspace ID. How to find it?
The name you assigned when creating the Project.
The ID you assigned when creating the Job.
Job deleted successfully