Authorized users endpoint

How do i get JIRA authorized user's information through REST API? Is there any user's endpoint url which returns information of the user through which access_token is received.

I know how to get user's name, email address etc. It is possible through this url:

https://myhost/rest/api/2/user?username=<any-name> . Is there any way can get user's info without its username or key?

In API's language it is usually called as my_info url.

2 answers

1 accepted

Accepted Answer
0 votes

/rest/auth/1/session is the answer to the above question.

This endpoint was available in version 1 API. If there is one such endpoint url in API version 2, please share.

This endpoint was available in version 1 API. If there is one such endpoint url in API version 2, please share.

Suggest an answer

Log in or Sign up to answer
Community showcase
Posted Sep 25, 2018 in Jira

Atlassian Research Workshop opportunity on Sep. 28th in Austin, TX

We're looking for participants for a workshop at Atlassian! We need Jira admins who have interesting custom workflows, issue views, or boards. Think you have a story to sha...

465 views 7 5
Join discussion

Atlassian User Groups

Connect with like-minded Atlassian users at free events near you!

Find a group

Connect with like-minded Atlassian users at free events near you!

Find my local user group

Unfortunately there are no AUG chapters near you at the moment.

Start an AUG

You're one step closer to meeting fellow Atlassian users at your local meet up. Learn more about AUGs

Groups near you