---
search:
  tags:
    - auth
    - POST
seo:
  description: >-
    Log out and clear the session cookie. Reference for the POST /api/v1/logout
    endpoint in the TimescaleDB Enterprise API.
  noindex: true
sidebar:
  label: Log out
  badge: POST
title: Log out
type: openapi-operation
---
Log out and clear the session cookie.

`POST /api/v1/logout`

**Responses**

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

Response example, 200:

```json
{
  "ok": true
}
```
