---
title: "End a shared session for all participants"
method: POST
path: "/session-sharing/{shareId}/end"
tags: ["Session Sharing"]
---

# End a shared session for all participants

`POST /session-sharing/{shareId}/end`

Owner-only. Terminates the underlying session and notifies joined participants. Guac protocol kick is best-effort in v1.

## Path parameters

- `shareId` string, required

## Response `200`

Session ended

## Other responses

- `403` — Not the owner of this share
- `404` — Share not found
- `500` — Server error

---

[API](https://skmtc.dev/termix/apis/termix-api.md) · [All operations](https://skmtc.dev/termix/apis/termix-api/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/termix/termix-api/revisions/f4ef343eff1b/schema)
