Skip to content
atlassian-dc-mcp
Esc
↑↓navigate↵open⌘Jpreview

Delete user session

Invalidates session of given user.

DELETE/api/2/user/session/{username}
Authorization
AuthorizationBasic auth · headerrequired

In order to use basic authorization, provide username:password Base64 encoded in the 'Authorization' header.

Path parameters
usernamestringrequired

a String containing 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.

Try it
Server
Authorization
Parameters
Request
curl -X DELETE 'http://jira.example.com/rest/api/2/user/session/string' \
  -H 'Authorization: Basic YOUR_CREDENTIALS'
Response
Returned when the session is invalidated successfully.

Was this page helpful?