# Delete worker

```http
DELETE /agent-workers/workers/{worker_id}
```

Delete a worker. Requires project.runtime.manage.

## Parameters

| Name        | In   | Required | Description |
| ----------- | ---- | -------- | ----------- |
| `worker_id` | path | Yes      |             |

## Responses

| Status | Description                                                                                                 |
| ------ | ----------------------------------------------------------------------------------------------------------- |
| 200    | Worker disabled; it stops claiming additional runs for its project.                                         |
| 400    | Bad request                                                                                                 |
| 401    | Unauthorized                                                                                                |
| 403    | Forbidden                                                                                                   |
| 404    | Not found                                                                                                   |
| 500    | Server error                                                                                                |
| 503    | internal: authentication state is temporarily unavailable and the request was not processed; retry shortly. |
