---
title: "deleteRelation"
method: DELETE
path: "/v1/entity/{slug}/{id}/relations/{attribute}/{entity_id}"
tags: ["Relations"]
---

# deleteRelation

`DELETE /v1/entity/{slug}/{id}/relations/{attribute}/{entity_id}`

Removes relation between two entities

## Path parameters

- `slug` string, required — URL-friendly identifier for the entity schema
- `id` string, uuid, required
- `attribute` string, required
- `entity_id` string, required

## Query parameters

- `async` boolean
- `activity_id` union
  - string, ulid — See https://github.com/ulid/spec
  - '' | 'null', nullable

## Response `204`

Relation deleted with success.

## Other responses

- `404` — The requested resource was not found
- `429` — Too many requests

---

[API](https://skmtc.dev/epilot/apis/entity-api.md) · [All operations](https://skmtc.dev/epilot/apis/entity-api/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/epilot/entity-api/revisions/46c13e283526/schema)
