---
title: "End the dashboard session"
method: POST
path: "/v1/auth/logout"
tags: ["Authentication"]
---

# End the dashboard session

`POST /v1/auth/logout`

## Request

- Base URL: `https://api.scripthaul.com`
- URL: `https://api.scripthaul.com/v1/auth/logout`
- Auth: HTTP bearer

Deletes the session behind the sh_dashboard cookie and clears the cookie. Like every cookie-authenticated mutation it requires the X-ScriptHaul-Dashboard: 1 header. API keys have no session to end.

## Response `204`

Signed out

## Other responses

- `400`: Typed API error
- `401`: Typed API error
- `403`: Typed API error

---

[API](https://skmtc.dev/scripthaul/apis/scripthaul-api.md) · [All operations](https://skmtc.dev/scripthaul/apis/scripthaul-api/llms.txt) · [OpenAPI document](https://skmtc.dev/scripthaul/apis/scripthaul-api/revisions/f476d69f4a6b?raw)
