---
title: "Changes to Delete the agent — only with zero live sessions (409 agent_has_sessions) [admin]"
method: DELETE
path: "/agents/{id}"
---

# Changes to Delete the agent — only with zero live sessions (409 agent_has_sessions) [admin]

`DELETE /agents/{id}`

> Every recorded change to this operation, newest first.

## Timeline

Changed in 1 of 4 revisions.

- **2026-11-02** `e5e8f0229a99`: 1 breaking, 1 warning, 5 info

## Changes

- **2026-11-02** `e5e8f0229a99`: 1 breaking, 1 warning, 5 info
  - the `ok` response property const value `true` was removed for the status `200`
  - added the new `true` enum value to the `ok` response property for the response status `200`
  - added the optional property `error/request_id` to the response with the `default` status
  - the response property `error` became required for the status `default`
  - the response property `error/code` became required for the status `default`
  - the response property `error/message` became required for the status `default`
  - added the required property `outcome` to the response with the `200` status

---

[Operation](https://skmtc.dev/agentsky/apis/agentsky-developer-api/docs/agents/:id/delete.md) - [API](https://skmtc.dev/agentsky/apis/agentsky-developer-api.md) - [Page](https://skmtc.dev/agentsky/apis/agentsky-developer-api/changes/agents/:id/delete)
