---
search:
  tags:
    - remote-assist
    - POST
seo:
  description: >-
    End the open session now. The tunnel closes, and each engineer… Reference
    for the POST /api/v1/remote-assist/end endpoint in the TimescaleDB
    Enterprise API.
  noindex: true
sidebar:
  label: End remote assist
  badge: POST
title: End remote assist
type: openapi-operation
---
End the open session now. The tunnel closes, and each engineer loses access.

`POST /api/v1/remote-assist/end`

**Responses**

- `200` — OK
- `default` — Error

Response example, 200:

```json
{
  "default_hours": 0,
  "durations": [
    0
  ],
  "end_reason": "string",
  "ended_at": "2019-08-24T14:15:22Z",
  "engineers": [
    {
      "case": "string",
      "engineer": "string",
      "first_seen": "2019-08-24T14:15:22Z",
      "last_seen": "2019-08-24T14:15:22Z"
    }
  ],
  "expires_at": "2019-08-24T14:15:22Z",
  "opened_at": "2019-08-24T14:15:22Z",
  "opened_by": "string",
  "reason": "string",
  "restarted": true,
  "retry": true,
  "sessions": [
    {
      "case": "string",
      "engineer": "string",
      "write": true
    }
  ],
  "state": "off"
}
```
