Unfortunately it isn't possible to change the API endpoint once it's been set.
If you need a new endpoint, then you will need to create a new repository with the correct endpoint. Then you can copy your Custom Type JSON from one repo to the other and you'll need to recreate your content.
To make the content creation easier, we offer an Import/Export feature available starting with the Medium plan. You can read more about this here.