---
title: "Remove a dependency edge"
method: DELETE
path: "/api/goal/deps"
tags: ["Goal"]
---

# Remove a dependency edge

`DELETE /api/goal/deps`

## Request

- Base URL: `http://localhost:38200`
- URL: `http://localhost:38200/api/goal/deps`
- Auth: one of:
  - HTTP bearer
  - API key in cookie `token`

## Request body

- object
  - `from_node_id` integer, required
  - `to_node_id` integer, required
  - `kind` 'blocks' | 'informs'

## Response `200`

Whether an edge was actually removed.

- object
  - `removed` boolean

## Other responses

- `400`: Request body/query failed Zod validation.
- `401`: Missing or invalid credentials.

---

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