---
title: "Delete an Agent connection"
method: DELETE
path: "/agent-management/agent-connections/{agentConnectionId}"
tags: ["Agent Connections"]
---

# Delete an Agent connection

`DELETE /agent-management/agent-connections/{agentConnectionId}`

## Request

- Base URL: `http://localhost:8090/agent-api`
- URL: `http://localhost:8090/agent-api/agent-management/agent-connections/{agentConnectionId}`
- Auth: HTTP basic
- TypeScript: <https://skmtc.dev/flowable/apis/flowable-agent-engine-rest-api/docs/agent-management/agent-connections/:agentConnectionId/delete.ts> (a function with typed inputs; its response is checked against the schema)

## Path parameters

- `agentConnectionId` string, required

## Response `204`

Indicates that the Agent connection was deleted

## Other responses

- `403`: Indicates that the user doing the request does not have the required permissions for deleting an Agent connection
- `404`: Indicates that the Agent connection does not exist

---

[API](https://skmtc.dev/flowable/apis/flowable-agent-engine-rest-api.md) - [All operations](https://skmtc.dev/flowable/apis/flowable-agent-engine-rest-api/llms.txt) - [OpenAPI document](https://skmtc.dev/flowable/apis/flowable-agent-engine-rest-api/revisions/54fc1189496f?raw)
