Disable signup on login forms but still allow API to sign a user up

Hi

I am currently using your hosted UI for login, but for Signup I plan to do this via my own UI/API.

Currently when the user attempts to login, we get a signup link on the Auth0 login form, I understand that I can disable this by turning on the option to Disable signups in the connection, however, if I do this, my API client doesn’t then allow me to sign the user up.

Is there a option to disable signup depending on the client rather than at connection level?