Forums

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

"Error: Caller must be an org admin of targeted account or be the targeted account"

Gunel Ibrahimkhalilova
I'm New Here
I'm New Here
Those new to the Atlassian Community have posted less than three times. Give them a warm welcome!
January 19, 2023

Hi,

I'm trying to use the jira cloud server management api. But it keeps giving me this error. Error is the same for my own account id too. I want to  update status of jira cloud user and I have organization admin permission.

Below is the rest call I use:

curl --request POST --url 'https://api.atlassian.com/users/<user id>/manage/lifecycle/disable' --header 'Authorization: Bearer <apikey>' --header 'Content-Type: application/json' --data '{"message": "On 6-month suspension"}'

0 answers

Suggest an answer

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

Atlassian Community Events