> ## Documentation Index
> Fetch the complete documentation index at: https://api-docs.hellotracks.com/llms.txt
> Use this file to discover all available pages before exploring further.

# Archive Jobs

> Archive one or multiple jobs.

You can archive one or multiple jobs via the `/archivejobs` endpoint. Archived jobs can easily be restored in the Hellotracks Dashboard or via the `/restorejobs` endpoint.

### REQUEST

```shell theme={null}
POST https://api.hellotracks.com/api/archivejobs

{
	data: {
		jobs: [
			"<job_id_1>",
			"<job_id_2>",
			   ...
			"<job_id_n>"
		]
	}
}
```

<ParamField body="jobs" type="array" required>
  An array of job IDs to archive. Archived jobs are removed from active view but can be restored later.
</ParamField>

If successful, you'll get `status:0` and the archived job objects in the response.

### RESPONSE

```shell theme={null}
{
	status: 0,
	jobs: [
		{ <job_1> },
		{ <job_2> }
	]
}
```
