---
title: "Soft-delete a specific version and its content (nodes, ports, edges)."
method: DELETE
path: "/agent-playground/graphs/{id}/versions/{version_id}/"
tags: ["agent-playground"]
---

# Soft-delete a specific version and its content (nodes, ports, edges).

`DELETE /agent-playground/graphs/{id}/versions/{version_id}/`

## Request

- Base URL: `http://localhost:8000`
- URL: `http://localhost:8000/agent-playground/graphs/{id}/versions/{version_id}/`
- Auth: one of:
  - API key in header `X-Api-Key`
  - API key in header `X-Secret-Key`

Cannot delete if this is the only version for the graph.
Can delete active version - graph will then have no active version.

## Response `204`

No Content

## Other responses

- `400`: Bad Request
- `404`: Not Found
- `500`: Internal Server Error
- `default`: Default error response

---

[API](https://skmtc.dev/futureagi/apis/future-agi-management-api.md) · [All operations](https://skmtc.dev/futureagi/apis/future-agi-management-api/llms.txt) · [OpenAPI document](https://skmtc.dev/futureagi/apis/future-agi-management-api/revisions/c8684118e142?raw)
