- Visible to my domain,
- Restricted by roles
PublicPublic visibility means that the API will be shown on the Developer Portal to everyone, including not authenticated site visitors. This is the mode most frequently used for public API programs when you want to have everything available on the website and indexed by search engines, so your API program can attract as big of a community as possible.
Visible to my domainThis option basically means "authenticated users". Only people who log into your portal can see APIs with this visibility level. Note that you can control who can do this because the only ways to get an account are to either get explicitly invited by you or to go through self-signup, and the self-signup feature is off by default and can be configured to require approval.
Restricted by rolesThis is the strictest visibility control option that lets you narrow down API visibility to a specific group of users. For example, before making an API publicly visible, you can limit its access to internal developers and quality assurance team. Or you might have a scenario in which some APIs are visible to the wide ecosystem, more APIs are available to select close partners, and even more are being used internally. Notes:
- If you want to use default roles for the visibility - note that their internal names are different from the display names being used in the Members dialog box. So if you want to restrict visibility to publishers only (Members dialog box calls this group:
APICloudPublisher) restrict access to
APICloudSubscriberrole is internally simply called
subscriberbut, in reality, you would rarely use it for restrictions by roles because in most cases the effect of that level of visibility is identical to simply setting Visible to my domain.