Hey everyone,
Here is my use case, my account is an org admin of atlassian and I created a org API token.
What I would like to do, is creating a new API token, for a specific user, via an API call.
Something like
https://api.atlassian.com/users/{account_id}/manage/api-tokens/
and a body with the name and the expiry date, which the API should response with the token.
I know that's what is used in the background when doing it in the UI.
When I try to do so, the answer is the following:
"key": "forbidden.action",
"context": {
"allowed": false,
"reason": {
"key": "myselfOnly"
}
}
And I can't figure how to do so with the user.
Thanks in advance for your help !