---
title: "Deregister"
method: DELETE
path: "/api/v1/management/discovery"
tags: ["Discovery Resource"]
---

# Deregister

`DELETE /api/v1/management/discovery`

## Request

- Base URL: `http://localhost:8080`
- URL: `http://localhost:8080/api/v1/management/discovery`
- Auth: none declared

## Request body

- ServiceTarget
  - `id` string
  - `serviceName` string
  - `host` string
  - `port` integer
  - `serviceType` string
  - `serviceSubType` string
  - `languageName` string
  - `languageType` string
  - `languageSubType` string

## Response `200`

OK

- WanakuResponseVoid
  - `error` WanakuError
    - `message` string
  - `data` unknown

## Changes

- **2026-05-14** `e544cfb4deed`: 1 breaking, 2 info
  - the response's body type changed from no type to `object` for status `200`
  - added the optional property `data` to the response with the `200` status
  - added the optional property `error` to the response with the `200` status
- **2026-05-14** `cc2b66f5cdc5`: 1 breaking, 2 warning
  - the response's body type changed from `object` to no type for status `200`
  - removed the optional property `data` from the response with the `200` status
  - removed the optional property `error` from the response with the `200` status
- **2026-05-13** `41a480854c53`: 1 breaking, 2 info
  - the response's body type changed from no type to `object` for status `200`
  - added the optional property `data` to the response with the `200` status
  - added the optional property `error` to the response with the `200` status
- **2026-04-10** `466a3cfa6b8c`: 1 info
  - added the media type `application/json` for the response with the status `200`

[Operation history](https://skmtc.dev/wanaku-ai/apis/wanaku-router-backend-api/changes/api/v1/management/discovery/delete.md)

---

[API](https://skmtc.dev/wanaku-ai/apis/wanaku-router-backend-api.md) - [All operations](https://skmtc.dev/wanaku-ai/apis/wanaku-router-backend-api/llms.txt) - [OpenAPI document](https://skmtc.dev/wanaku-ai/apis/wanaku-router-backend-api/revisions/801af2512b23?raw)
