---
title: "Disable Chat Sharing"
method: DELETE
path: "/api/chat/sessions/{session_id}/share"
tags: ["v2", "chat", "share", "chat", "share"]
---

# Disable Chat Sharing

`DELETE /api/chat/sessions/{session_id}/share`

Revoke sharing for a chat session.

Cascade-revokes linked executions whose share originated here
(``sharedVia == CHAT_LINK``).  User-initiated execution shares
survive — see :func:`backend.copilot.sharing.db.disable_chat_session_share`.

## Path parameters

- `session_id` string, required

## Response `204`

Successful Response

## Other responses

- `401` — Authentication required
- `422` — Validation Error

## Changes

- **2026-05-27** `f73eb61e119c` — 1 info
  - endpoint added
- **2026-04-30** `8c84efcb3afb` — 1 breaking
  - api path removed without deprecation

[Change history](https://skmtc.dev/significant-gravitas/apis/autogpt-agent-server/changes/api/chat/sessions/:session_id/share/delete.md)

---

[API](https://skmtc.dev/significant-gravitas/apis/autogpt-agent-server.md) · [All operations](https://skmtc.dev/significant-gravitas/apis/autogpt-agent-server/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/significant-gravitas/autogpt-agent-server/revisions/5dc375899754/schema)
