API to disable user not working despite admin privileges

We are trying to build an API call to disable a user’s Atlassian account. Despite the fact that the API token belongs to a user with admin privileges, however, the response returns {“code”:401,“message”:“Unauthorized”}. The API documentation here:


states that we need a lifecycle.enablement privilege, however, we are unable to locate where or how exactly we can enable this.