Specify a custom table name when uploading a zip shapefile to PostGIS via REST API

I am using the endpoint datastore to upload a shapefile zip: /workspaces/{workspaceName}/datastores/{storeName}/{method}.{format}.

The behavior I’m observing is that the table name in my PostGIS database is automatically set to the name of the “.shp” file in the zip. In the REST API, I don’t see any option to specify a custom table name; it defaults to the shapefile name.

Did I overlook something? Is there an option to specify a custom table name?

Anyone has a solution for this ?