Myself
Get current user
Returns details for the current user.
Permissions required: Permission to access Jira.
get/rest/api/2/myself
Request
- Base URL: https://your-domain.atlassian.net
- URL: https://your-domain.atlassian.net/rest/api/2/myself
- Auth: one of:
- HTTP basic
- OAuth 2 (authorization code, authorization URL https://auth.atlassian.com/authorize, token URL https://auth.atlassian.com/oauth/token, scopes: read:jira-user)
Query parameters
expandstring
Use expand to include additional information about user in the response. This parameter accepts a comma-separated list. Expand options include:
- groups Returns all groups, including nested groups, the user belongs to.
- applicationRoles Returns the application roles the user is assigned to.
Response
Returned if the request is successful.
Changes
No recorded changes to this operation across all 26 revisions of this API.