---
title: "Changes to Logs out a user."
method: POST
path: "/logout"
---

# Changes to Logs out a user.

`POST /logout`

> Every recorded change to this operation, newest first.

## Timeline

Changed in 4 of 51 revisions.

- **2025-02-07** `4d0f1a6c1ad9`: 1 info
- **2023-12-13** `77f9aeb9339a`: 1 info
- **2023-07-03** `5ed47f677cc9`: 1 info
- **2023-02-01** `144a34ca6d74`: 3 warning

## Changes

- **2025-02-07** `4d0f1a6c1ad9`: 1 info
  - added the optional property `error_code` to the response with the `401` status
- **2023-12-13** `77f9aeb9339a`: 1 info
  - added the optional property `weak_password` to the response with the `401` status
- **2023-07-03** `5ed47f677cc9`: 1 info
  - added the new optional `query` request parameter `scope`
- **2023-02-01** `144a34ca6d74`: 3 warning
  - deleted the `query` request parameter `scope`
  - removed the optional property `error_code` from the response with the `401` status
  - removed the optional property `weak_password` from the response with the `401` status

---

[Operation](https://skmtc.dev/supabase/apis/supabase-auth-rest-api/docs/logout/post.md) - [API](https://skmtc.dev/supabase/apis/supabase-auth-rest-api.md) - [Page](https://skmtc.dev/supabase/apis/supabase-auth-rest-api/changes/logout/post)
