---
title: "Delete Location Reference"
method: POST
path: "/api/mcp/delete_location_reference"
tags: ["mcp"]
---

# Delete Location Reference

`POST /api/mcp/delete_location_reference`

## Request

- Base URL: `https://writer.swapp1990.org` (the document declares no server; this is the origin it was published from)
- URL: `https://writer.swapp1990.org/api/mcp/delete_location_reference`
- Auth: none declared

Delete a saved Writer location reference from a story.

## Request body

- DeleteLocationReferenceInput
  - `job_id` string, required: The story job ID.
  - `location_reference_id` string, nullable: Stable Writer location reference id to delete.
  - `location_name` string, nullable: Location name to delete when id is not known.
  - `design_id` string, nullable: D4U design id to delete when id/name are not known.

## Response `200`

Successful Response

- GenericToolResponse: Fallback for tools whose payload is still being tightened.
  - `story_url` string, nullable
  - `article_url` string, nullable
  - `job_id` string, nullable
  - `status` string, nullable
  - `is_terminal` boolean, nullable

## Other responses

- `422`: Validation Error

---

[API](https://skmtc.dev/swapp1990/apis/writeforyou-mcp-api.md) · [All operations](https://skmtc.dev/swapp1990/apis/writeforyou-mcp-api/llms.txt) · [OpenAPI document](https://skmtc.dev/swapp1990/apis/writeforyou-mcp-api/revisions/ce5e2a89ab4d?raw)
