Forums

Articles
Create
cancel
Showing results for 
Search instead for 
Did you mean: 

Authenticate a user

Vishal Biyani
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
February 13, 2023

Using JIRA rest API, i want to authenticate if the user has access. 

i have trying to use https://your-cloud-instance.atlassian.net/rest/api/3/authentication/auhtorization

 

but it is giving 404 with POST. 

 

What will be the right url to use?

1 answer

0 votes
Carlos Faddul
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
February 15, 2023

@Vishal Biyani , how are you ?

This endpoint doesn't exist in the atlassian documentation

Here is the official documentation >> https://developer.atlassian.com/cloud/jira/platform/rest/v3/intro/#authentication

To get the autenthication you need to have an API Token, then you can use endpoint more with POST, GET, DELETE

I hope I helped you.

If this post was helpful, mark it as "Accept Answer" , so you can help others who may have the same difficulties.

If your question has not been resolved, please post again with more details.

Vishal Biyani
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
February 15, 2023

@Carlos Faddul 

so would it be right to invoke below API to check if user is authenticated with help of rest API using below API?

https://your-cloud-instance.atlassian.net/rest/api/3/myself

Suggest an answer

Log in or Sign up to answer
DEPLOYMENT TYPE
CLOUD
PRODUCT PLAN
PREMIUM
PERMISSIONS LEVEL
Product Admin
TAGS
AUG Leaders

Atlassian Community Events