No permission for user, Tenant permission error

I try to run this command on elasticsearch server but i get error for permission, sorry for the noob question

curl -XPUT 'localhost:9200/_settings' -H 'Content-Type: application/json' -H 'securitytenant: Private' -u admin --insecure -d '{
    "index" : {
        "number_of_replicas" : 0
    }
}'

{“error”:{“root_cause”:[{“type”:“security_exception”,“reason”:“no permissions for [ ] and User [name=admin, roles=[admin], requestedTenant=Private]”}],“type”:“security_exception”,“reason”:“no permissions for [ ] and User [name=admin, roles=[admin], requestedTenant=Private]”},“status”:403}

I tried also with out securitytenant but with the same error permission.

Some other command they run with success.
Cheers