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

Get current user session information

Returns information about the currently authenticated user’s session. If the caller is not authenticated they will get a 401 Unauthorized status code.

GET/auth/1/session
Authorization
AuthorizationBasic auth · headerrequired

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

Responses
200

Returned if the currently authenticated user is returned.

object
401

Returned if the currently authenticated user is not returned.

Try it
Server
Authorization
Request
curl -X GET 'http://jira.example.com/rest/auth/1/session' \
  -H 'Authorization: Basic YOUR_CREDENTIALS' \
  -H 'Accept: application/json'
Response
{}

Was this page helpful?