---
title: "Logout user"
method: GET
path: "/auth/logout"
tags: ["Authentication"]
---

# Logout user

`GET /auth/logout`

Invalidates the session and redirects the user to the CAS logout page. Should be called in the same manner as the login endpoint.

## Response `204`

Successfully logged out.

## Other responses

- `401` — Unauthorized

---

[API](https://skmtc.dev/osdg-iiith/apis/forms-portal-api.md) · [All operations](https://skmtc.dev/osdg-iiith/apis/forms-portal-api/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/osdg-iiith/forms-portal-api/revisions/7761ba23f677/schema)
