# Delete a job target

Deletes a target for a job using its ID.

Endpoint: DELETE /api/jobs/{id}/targets/{targetId}
Version: v2.0
Security: OAuth2

## Security:

  - `OAuth2` (unknown)
    oauth2

## Path parameters:

  - `id` (integer, required)
    The ID for the job, for example `39596`.

  - `targetId` (integer, required)
    The target ID, for example `39595`.

## Response 204:

  - `204` (unknown)
    Entity successfully deleted.

## Response 400:

  - `400` (unknown)
    Request not valid or error during operation.

## Response 401:

  - `401` (unknown)
    Unauthorized request.

## Response 404:

  - `404` (unknown)
    Entity not found or user not authorized.

