# pw workers delete

> Source: https://parallelworks.com/docs/cli/pw/workers/delete

## pw workers delete

Stop and delete a compute worker

### Synopsis

The **pw workers delete** command stops a compute worker's scheduler job and
deletes it. Any sessions running on the worker stop with it.

Worker IDs are shown by **pw workers ls**.

```
pw workers delete <worker-id> [flags]
```

### Examples

```
  # Delete a worker
  pw workers delete 60c72b2f9b1e8d001c8e4f3a
```

### Options

```
  -h, --help   help for delete
```

### Options inherited from parent commands

```
      --context string         The context to use. Overrides PW_CONTEXT environment variable and current context from config.
      --platform-host string   The Parallel Works ACTIVATE platform host to use. Will override any other platform host settings.
  -v, --verbose                Enable verbose logging
```

### SEE ALSO

* [pw workers](/docs/cli/pw/workers)	 - Manage compute workers
