Trying to get users from Org - receive 401 "Unauthorized"

Raluca Pojar August 31, 2021

In our company we are using the API script in getting information about one user. For getting the account user id we are trying to get the lost of users from the organisation. Everything worked fine until something is crushing...

Every time I am trying to get the users from Atlassian org I am getting :

"code": 401, "message": "Unauthorized"

As for API I am using : 

https://developer.atlassian.com/cloud/admin/organization/rest/api-group-orgs/#api-orgs-orgid-users-get

I also changed the API key token in case something expired (as though there is nothing regarding this on the site). 

API token url: https://id.atlassian.com/manage-profile/security/api-tokens

Please HELP!!

 

 

 

0 answers

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events