Jira cloud api users

I am trying to disable a user from api: https://api.atlassian.com/users/acc_id/manage/lifecycle/disable

But always it returns:
“key”: “forbidden.action”,
“context”: {
“allowed”: false,
“reason”: {
“key”: “externalDirectory.scim”
}
}

I run this with api key generated from the organization admin, I can run other methods of the api, but I can’t with this. Please help

1 Like