---
title: "Unpublish a note"
method: DELETE
path: "/notes/{noteId}/publish"
tags: ["Notes"]
---

# Unpublish a note

`DELETE /notes/{noteId}/publish`

## Request

- Base URL: `https://app.cleve.ai/api/v1`
- URL: `https://app.cleve.ai/api/v1/notes/{noteId}/publish`
- Auth: HTTP bearer

Takes a published note off the public web.

## Path parameters

- `noteId` string, required

## Response `200`

The note is no longer published.

- object
  - `data` Success, required
    - `success` true, required

## Other responses

- `400`: The request is invalid. `error` says which field is missing or wrong.
- `401`: Missing or invalid API key.
- `500`: Unexpected server error. Safe to retry once.

---

[API](https://skmtc.dev/cleve/apis/cleve-rest-api.md) · [All operations](https://skmtc.dev/cleve/apis/cleve-rest-api/llms.txt) · [OpenAPI document](https://skmtc.dev/cleve/apis/cleve-rest-api/revisions/d35e11aae036?raw)
