---
title: "Logout"
method: POST
path: "/v1/logout"
tags: ["Login"]
---

# Logout

`POST /v1/logout`

Given a valid access token in the header then log out the authenticated user or client

Will revoke the token

## Response `204`

User has been logged out

## Other responses

- `401` — Invalid access token. May be expired or invalid
- `403` — The authentication does not have permissions to access the resource This usually occurs when there is a valid authentication instance (client or user) but they do not have the required permissions

## Changes

- **2020-09-25** `dd71433847a6` — 2 breaking, 12 info
  - the `errors/items/` response's property type/format changed from ``/`` to `object`/`` for status `401`
  - the `errors/items/` response's property type/format changed from ``/`` to `object`/`` for status `403`
  - added the optional property `errors/items/errorCode` to the response with the `401` status
  - added the optional property `errors/items/errorCode` to the response with the `403` status
  - …10 more
- **2020-01-28** `1b2abf26b5d6` — 4 breaking, 2 warning
  - the response's body type/format changed from `object`/`` to ``/`` for status `401`
  - the response's body type/format changed from `object`/`` to ``/`` for status `403`
  - the `errors/items/` response's property type/format changed from `object`/`` to ``/`` for status `401`
  - the `errors/items/` response's property type/format changed from `object`/`` to ``/`` for status `403`
  - …2 more
- **2019-12-11** `a0b19fa311c0` — 1 info
  - endpoint added
- **2019-07-15** `ced8e167a97c` — 1 breaking
  - api path removed without deprecation

[Change history](https://skmtc.dev/velopaymentsapi/apis/velo-payments-apis/changes/v1/logout/post.md)

---

[API](https://skmtc.dev/velopaymentsapi/apis/velo-payments-apis.md) · [All operations](https://skmtc.dev/velopaymentsapi/apis/velo-payments-apis/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/velopaymentsapi/velo-payments-apis/revisions/05c3f09fc50a/schema)
