I'm trying to use the jira cloud ser management api. But it keeps giving me this error. even if I'm trying to access my own account.
curl -X GET \
-H 'Accept: */*' \
-H 'Authorization: Bearer <redacted>' \
Hi @Nitin Patel ,
Welcome to the Atlassian Community!
The user management REST APIs are intended to be used by Organization administrators to perform operations on the managed accounts for that organization:
Use this REST API to administer and edit the managed accounts in your organization by account ID
I have checked and I can see that you are not an administrator of the organization that claimed the domain for your account (R*****g).
You are the administrator of an organization that has no domains claimed (r*****test**in) and that's how you managed to get an API Key to authenticate the REST API call.
However, as the error message says:
Caller must be an org admin of targeted account
That's why this is not working.
Please ask to be added as org admin to the organization that claimed the domain of your email address in order to be able to use user management REST APIs.
Introducing Jira Cloud for Excel Here at the product integrations team at Atlassian, we are thrilled to announce the new Jira Cloud for Excel add-in! This add-in lets you export Jira data directly ...
Connect with like-minded Atlassian users at free events near you!Find an event
Connect with like-minded Atlassian users at free events near you!
Unfortunately there are no Community Events near you at the moment.Host an event
You're one step closer to meeting fellow Atlassian users at your local event. Learn more about Community Events