/admin/auth/register

Hello community, i am trying to figure out how to only allow admin user creation on the command line with strapi command and disable register via /admin/auth/register. I tried to disable signup via the user plugins but it does nothing if i rebuild. Thank you