Openapi: 401 Unauthorized trying to import tags

I'm trying to import some tags to an Ignition 8.3.7 using Python requests library: I generated an API key in the gateway and my call is:

I set also

The response is 401 unauthorized: what am I doing wrong?

Thanks in advance