# st.deleteTrackedJob

Remove a job from the account’s LinkedIn job tracker permanently.

> The API Reference is also the SDK and CLI reference. Consecutive code fences marked `tab=HTTP`, `tab=Node`, `tab=Python` and `tab=CLI` are the same call on each surface (a fence marked `tab=HTTP,CLI` is the same text for both), and a block between `:::surface <names>` and `:::` applies only to the surfaces it names. Identifiers in the text are written as in Node and in HTTP JSON (camelCase); the Python SDK spells methods, parameters and result attributes in snake_case (`sendMessage` → `send_message`, `reconnectionLink` → `reconnection_link`), while names inside HTTP JSON stay camelCase.

Remove a job from the account’s [job tracker](/docs/tracking-jobs) permanently.

:::surface node,python
In the SDK this is the `deleteTrackedJob` method. It takes the parameters below except `label`, which exists only in workflow JSON. It returns no `data`: a failed action comes back in `errors`, with one of the error types below.
:::

:::surface cli
The command is `linkedin jobs delete`. Its argument and flags are listed below.
:::

## Constraints

> ⏺️ **Root Start:** allowed.

> ⬆️ **Parent Actions:** N/A.

> ⬇️ **Child Actions:** N/A.

## Parameters

```json tab=HTTP
{
  "actionType": "st.deleteTrackedJob",
  "label": "deleteTrackedJob1",
  "jobUrl": "https://www.linkedin.com/jobs/view/4450053454/",
  "currentStage": "applied"
}
```

```typescript tab=Node
const workflow = await linkedapi.deleteTrackedJob.execute({
  jobUrl: "https://www.linkedin.com/jobs/view/4450053454/",
  currentStage: "applied"
});

const { errors } = await linkedapi.deleteTrackedJob.result(workflow.workflowId);
```

```python tab=Python
from linkedapi import DeleteTrackedJobParams

workflow = linkedapi.delete_tracked_job.execute(
    DeleteTrackedJobParams(job_url="https://www.linkedin.com/jobs/view/4450053454/", current_stage="applied")
)

result = linkedapi.delete_tracked_job.result(workflow.workflow_id)
```

```bash tab=CLI
linkedin jobs delete https://www.linkedin.com/jobs/view/4450053454/ --current-stage applied --json
```

In AI assistants, the MCP tool is `delete_tracked_job`. The n8n action is **Delete tracked job**; the Make module is **Delete a tracked job**.

| Parameter | Description |
| --- | --- |
| `label` | Optional label included in workflow completion. |
| `jobUrl` | Required. LinkedIn URL of the job, in the `linkedin.com/jobs/view/<id>` form. |
| `currentStage` | Optional. The stage the job is in now: `saved`, `draft`, `clickedApply`, `applied`, `interview`, `archived`. That stage is searched first, so a correct value finds the job without searching the others, which is faster and avoids `trackerTooLarge` from a large stage the job is not in. Omit it and the stages are searched in turn until the job is found. |

:::surface cli
| Arg | Required | Description |
| --- | --- | --- |
| `url` | yes | LinkedIn job URL |

| Flag | Description |
| --- | --- |
| `--current-stage` | Optional. The stage the job is in now. |
:::

## Deleting behaviour

- **It cannot be undone.** LinkedIn treats it as a permanent removal. Saving the job again puts it back in `saved` as a new entry.
- **The way out when unsaving is not offered.** Use it to take a job out of the tracker when [`st.unsaveJob`](/docs/action-st-unsave-job) returns `saveControlNotOffered`.
- **The applied stamp is lost.** A job saved again later comes back without its earlier `markedAppliedDate`.
- **Safe to repeat.** A job that is not in the tracker returns `jobNotTracked` and nothing is changed.

## Result options

```json
{
  "actionType": "st.deleteTrackedJob",
  "label": "deleteTrackedJob1",
  "success": true
}
```

A successful call has no `data`. `label` is included only if specified in the action parameters.

## Error result

```json
{
  "actionType": "st.deleteTrackedJob",
  "label": "deleteTrackedJob1",
  "success": false,
  "error": {
    "type": "jobNotTracked",
    "message": "..."
  }
}
```

Possible `error.type` values:

- `jobNotTracked` — The job is not in the job tracker.
- `jobNotFound` — The job could not be opened or no longer exists.
- `trackerTooLarge` — The job tracker holds too many jobs in this stage to locate this job.
- `unexpectedError` — The change could not be completed.
