---
title: "POST /_matrix/identity/v2/account/logout"
method: POST
path: "/_matrix/identity/v2/account/logout"
tags: ["Identity server"]
---

# POST /_matrix/identity/v2/account/logout

`POST /_matrix/identity/v2/account/logout`

## Request

- The document declares no server URL.
- Auth: HTTP bearer
- TypeScript: <https://skmtc.dev/linagora/apis/twake-on-matrix-apis-documentation/docs/_matrix/identity/v2/account/logout/post.ts> (a function with typed inputs; its response is checked against the schema)

Implements https://spec.matrix.org/v1.6/identity-service-api/#post_matrixidentityv2accountlogout

---

[API](https://skmtc.dev/linagora/apis/twake-on-matrix-apis-documentation.md) - [All operations](https://skmtc.dev/linagora/apis/twake-on-matrix-apis-documentation/llms.txt) - [OpenAPI document](https://skmtc.dev/linagora/apis/twake-on-matrix-apis-documentation/revisions/3428c7bb5a46?raw)
