---
title: "Delete the service config"
method: DELETE
path: "/system/services/{servicename}/{hostid}"
tags: ["System"]
---

# Delete the service config

`DELETE /system/services/{servicename}/{hostid}`

## Path parameters

- `servicename` string, required
- `hostid` string, required

## Response `200`

Delete success

## Other responses

- `500` — Internal error

## Changes

- **2020-11-04** `ce07c565cfc8` — 1 info
  - api tag `Services` removed
- **2020-03-17** `001d1fd95836` — 1 info
  - api tag `Services` added

[Change history](https://skmtc.dev/anchore/apis/anchore-engine-api-server/changes/system/services/:servicename/:hostid/delete.md)

---

[API](https://skmtc.dev/anchore/apis/anchore-engine-api-server.md) · [All operations](https://skmtc.dev/anchore/apis/anchore-engine-api-server/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/anchore/anchore-engine-api-server/revisions/afb4f60ab44a/schema)
