title: How do we disable Azure Api Management developer portal (both legacy and new)
body: <p>I worked with a team today who wanted to disable the developer portal and the signup.</p>
  
  <p>The best we could come up with was to disable the legacy developer portal by adding delegation to a static site as per <a href="https://docs.microsoft.com/en-us/azure/api-management/api-management-howto-setup-delegation" rel="nofollow noreferrer">https://docs.microsoft.com/en-us/azure/api-management/api-management-howto-setup-delegation</a></p>
  
  <p>I did some testing and the new developer portal can be disabled by removing all the providers including username and password from the identities blade. This means going to the new portal returns "Developer portal has not been published yet." I think I read that the new portal would be optional somewhere.</p>
  
  <p><strong>Does anyone know a the correct way to disable the legacy and new developer portals?</strong> </p>