---
title: "Deletes a job and all of its traces."
method: DELETE
path: "/routing/jobs/{jobId}"
---

# Deletes a job and all of its traces.

`DELETE /routing/jobs/{jobId}`

## Request

- Base URL: `{endpoint}`
- URL: `{endpoint}/routing/jobs/{jobId}`
- Auth: OAuth 2
  - Authorization code: `https://login.microsoftonline.com/common/oauth2/authorize`
  - Token URL: `https://login.microsoftonline.com/common/oauth2/token` scopes: `https://communication.azure.com/.default`

Deletes a job and all of its traces.

## Path parameters

- `jobId` string, required

## Query parameters

- `api-version` string, required

## Response `204`

There is no content to send for this request, but the headers may be useful.

## Other responses

- `default`: An unexpected error response.

## Changes

- **2022-05-05** `8cbeaf5a7ce3`: 1 warning, 2 info
  - the optional response header `x-ms-error-code` removed for the status `default`
  - api operation id `JobRouterOperations_DeleteJob` removed and replaced with `JobRouter_DeleteJob`
  - api tag `Jobs` added

[Operation history](https://skmtc.dev/azure/apis/communication-jobrouter/changes/routing/jobs/:jobId/delete.md)

---

[API](https://skmtc.dev/azure/apis/communication-jobrouter.md) - [All operations](https://skmtc.dev/azure/apis/communication-jobrouter/llms.txt) - [OpenAPI document](https://skmtc.dev/azure/apis/communication-jobrouter/revisions/c06e8f55d8b7?raw)
