---
title: "Unpublish Retriever"
method: DELETE
path: "/v1/retrievers/{retriever_id}/publish"
tags: ["Published Retrievers"]
---

# Unpublish Retriever

`DELETE /v1/retrievers/{retriever_id}/publish`

Unpublish a retriever.

Removes the public API endpoint and deletes the short URL redirect.
The public API key will immediately stop working.
This action cannot be undone (you'll need to republish to get a new API key).

## Path parameters

- `retriever_id` string, required — ID of the retriever to unpublish

## Response `200`

Successful Response

- GenericDeleteResponse — GenericDeleteResponse.
  - `message` string
  - `success` boolean

## Other responses

- `400` — Bad Request
- `401` — Unauthorized
- `403` — Forbidden
- `404` — Not Found
- `422` — Validation Error
- `500` — Internal Server Error

---

[API](https://skmtc.net/mixpeek/apis/mixpeek-api.md) · [All operations](https://skmtc.net/mixpeek/apis/mixpeek-api/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/mixpeek/mixpeek-api/revisions/04b379bdbb7c/schema)
