---
title: "Delete Relationship"
method: DELETE
path: "/api/relationships/{relationship_id}"
tags: ["relationships"]
---

# Delete Relationship

`DELETE /api/relationships/{relationship_id}`

## Request

- Base URL: `https://www.gateco.ai` (the document declares no server; this is the origin it was published from)
- URL: `https://www.gateco.ai/api/relationships/{relationship_id}`
- Auth: none declared

Hard-delete a relationship edge.

Invalidates the in-memory TTL cache for the owning org immediately after
deletion so that subsequent ``has_relation`` checks reflect the removal.

Returns 404 when the relationship does not exist or belongs to a different
organization (cross-org isolation).

## Path parameters

- `relationship_id` string, uuid, required

## Response `204`

Successful Response

## Other responses

- `422`: Validation Error

---

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