---
title: "Delete Agent"
method: DELETE
path: "/api/agents/{path}"
tags: ["Agent Management"]
---

# Delete Agent

`DELETE /api/agents/{path}`

Delete an agent from the registry.

Requires admin permission or agent ownership.

Args:
    path: Agent path
    user_context: Authenticated user context

Returns:
    204 No Content

Raises:
    HTTPException: 404 if not found, 403 if unauthorized

## Path parameters

- `path` string, required

## Response `200`

Successful Response

- unknown

## Other responses

- `422` — Validation Error

---

[API](https://skmtc.net/ascending-llc/apis/mcp-gateway-registry.md) · [All operations](https://skmtc.net/ascending-llc/apis/mcp-gateway-registry/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/ascending-llc/mcp-gateway-registry/versions/31381943e2e7/schema)
