> For the complete documentation index, see [llms.txt](https://docs.stoobly.com/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.stoobly.com/guides/how-to-integrate-e2e-testing/how-to-update-a-scaffold/deleting-a-service.md).

# Deleting a Service

## To Delete a Service

In the following example, we will delete a sample service called `sampleapis` .

1. To see a list of existing services, run the following:

```bash
$ stoobly-agent scaffold service list

name                      detached    hostname                     port    priority  proxy_mode                                scheme
build                     False                                     443           0
entrypoint                False                                     443          10
gateway                   False                                     443           1
sampleapis                False       api.sampleapis.com            443           5  reverse:https://api.sampleapis.com        https
stoobly-ui                False                                     443           1
```

2. Next, run the following to delete the service:

```bash
$ stoobly-agent scaffold service delete sampleapis

Deleting service: sampleapis
Successfully deleted service: sampleapis
```
