Create private graph with python API

Hi! I have pro subscription and try to create private chart via api, with following code

fig = go.Figure(data=show, layout=layout)
plot_url = plotly.plotly.plot(fig, filename=โ€˜tโ€™, sharing=โ€˜privateโ€™)

then i get message that my chart is created with link following, but link is public and available from anywhere.

I can switch then to private in my profile settings, but how to do it with code?

Hi, I also need to create a private chart with the API. Iโ€™m using nodeJs.