---
ai:
  exclude: true
search:
  tags:
    - user
    - DELETE
seo:
  description: >-
    Invalidates session of given user. Reference for the DELETE
    /api/2/user/session/{username} endpoint in the Jira Software Data Center
    REST API Reference.
sidebar:
  label: Delete user session
  badge: DELETE
title: Delete user session
type: openapi-operation
---
Invalidates session of given user.

`DELETE /api/2/user/session/{username}`

**Responses**

- `200` — Returned when the session is invalidated successfully.
- `401` — Returned if the user is not logged.
- `403` — Returned if the user does not have admin permission.
- `404` — Returned if the username does not exist.
