# Removing workers

BullMQ Proxy provides an endpoint to remove workers that are not needed anymore. The endpoint is simply `/workers/:queue-name` using "DELETE" as the http verb:

{% tabs %}
{% tab title="Curl" %}

```powershell
curl --location --request DELETE 'http://localhost:8080/workers/my-queue' \
--header 'Authorization: Bearer my-secret-token'
```

{% endtab %}
{% endtabs %}

If the call succeeds, the worker will be removed from the proxy and will not process new jobs. Note that if the worker is already processing some jobs, the worker will close gracefully to avoid making any jobs stalled.


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://docs.bullmq.net/http-api/workers/removing-workers.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
