# Targets

A target entity is a target of a job (meaning a background process). Each job can have one or more targets.

## Create a job target

 - [POST /api/jobs/{id}/targets](https://api-docs.sitecore.com/ch/jobs-api/targets/createtarget.md): Creates a new target for the specified job and returns the job target ID, for example 39605.

## Retrieve all job targets

 - [GET /api/jobs/{id}/targets](https://api-docs.sitecore.com/ch/jobs-api/targets/jobtargets.md): Lists all the targets associated with a job that match the criteria.

## Create multiple job targets at once

 - [POST /api/jobs/{id}/targets/bulk](https://api-docs.sitecore.com/ch/jobs-api/targets/createtargets.md): Creates new targets for the specified job and returns the job target IDs.

## Retrieve a specific job target

 - [GET /api/jobs/{id}/targets/{targetId}](https://api-docs.sitecore.com/ch/jobs-api/targets/jobtarget.md): Retrieves a job target using the job ID and the target ID.

## Update a job target

 - [PUT /api/jobs/{id}/targets/{targetId}](https://api-docs.sitecore.com/ch/jobs-api/targets/updatetarget.md): Updates a target associated with a job. It ensures that both the job and target exist and that the user has access to them. Properties or relations not included in the request will be set to null.

## Partially update a job target

 - [PATCH /api/jobs/{id}/targets/{targetId}](https://api-docs.sitecore.com/ch/jobs-api/targets/partialupdatetarget.md): Partial update on a target associated with a job. It ensures that the job and target exist and that the user has access to them. The properties and relations included in the request will be updated.

## Delete a job target

 - [DELETE /api/jobs/{id}/targets/{targetId}](https://api-docs.sitecore.com/ch/jobs-api/targets/deletetarget.md): Deletes a target for a job using its ID.

