---
title: "Deletes a worker and all of its traces."
method: DELETE
path: "/routing/workers/{workerId}"
---

# Deletes a worker and all of its traces.

`DELETE /routing/workers/{workerId}`

Deletes a worker and all of its traces.

## Path parameters

- `workerId` 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

- **2026-07-13** `fe2019dcc5b0` — 2 info
  - api operation id `JobRouter_DeleteWorker` removed and replaced with `JobRouterOperations_DeleteWorker`
  - api tag `Workers` removed
- **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_DeleteWorker` removed and replaced with `JobRouter_DeleteWorker`
  - api tag `Workers` added

[Change history](https://skmtc.dev/azure/apis/communication-jobrouter/changes/routing/workers/:workerId/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-service-production.skmtc.workers.dev/v1/apis/azure/communication-jobrouter/revisions/c06e8f55d8b7/schema)
