Just a heads up: On March 24, 2025, starting at 4:30pm CDT / 21:30 UTC, the site will be undergoing scheduled maintenance for a few hours. During this time, the site might be unavailable for a short while. Thanks for your patience.
×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 \
https://api.atlassian.com/users/5d072f480d28a30c4e34ae1c/manage/profile \
-H 'Accept: */*' \
-H 'Authorization: Bearer <redacted>' \
```
Had the same issue. The creator of the API key (instructions see here) has to belong to the same domain as the account you want to manage via API (verified domain).
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.
Cheers,
Dario
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Online forums and learning are now in one easy-to-use experience.
By continuing, you accept the updated Community Terms of Use and acknowledge the Privacy Policy. Your public name, photo, and achievements may be publicly visible and available in search engines.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.