---
title: DELETE /api/articles/[id]/notes/[nid]
description: Remove one note from the Brief by anchor. Backs scripto note rm.
---

<Note>

The CLI equivalent is `scripto note rm <id> <anchor>`.

</Note>

Removes one note from the [Brief](/concepts/brief). `nid` is a note anchor.

## Endpoint

```text
DELETE https://scripto.codika.io/api/articles/{id}/notes/{nid}
```

## Auth

`Authorization: Bearer scripto_…`

## Response (200)

```json
{ "success": true, "data": { "notes": [ "… the fresh notes map …" ] } }
```

## Errors

| HTTP | `code` | Cause | `nextAction` |
|---|---|---|---|
| 400 | `invalid-argument` | The anchor is ambiguous. | Use a longer anchor. |
| 404 | `not-found` | No such article, or no note matches the anchor. | Call GET /notes for current anchors. |
| 401 | `unauthenticated` | Missing or invalid key. | — |

## curl

```bash
curl -sS -X DELETE "https://scripto.codika.io/api/articles/$ID/notes/1a2b3c4d" \
  -H "Authorization: Bearer $SCRIPTO_API_KEY"
```

## Next

- **[The Brief](/concepts/brief)** — the concept.
