> ## Documentation Index
> Fetch the complete documentation index at: https://docs.hyperbeam.com/llms.txt
> Use this file to discover all available pages before exploring further.

# Ending a Session

## Parameters

**session\_id** `string`

The ID of the session to terminate.

## Response

The ID of the session that was terminated.

```bash cURL theme={null}
curl -X DELETE -H 'Authorization: Bearer <your-api-key>' \
    https://engine.hyperbeam.com/v0/vm/{session_id}
```

```json Response Example theme={null}
{
  "session_id": "52f968cb-6739-4197-83d7-2305fe5d6f54"
}
```


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.