Gérez la visibilité par défaut des pages et des produits API dans la console Apigee.
Lorsque vous créez des ressources dans la console de gestion Apigee, la visibilité par défaut est renseignée. Vous pourrez modifier la visibilité avant d'enregistrer (pour les éléments de catalogue) ou de publier (pour les pages).
De plus, vous pouvez modifier la visibilité d'une ressource de portail existante, comme décrit dans les sections suivantes :
Cliquez sur la ligne du portail dont vous souhaitez définir la visibilité par défaut.
Cliquez sur Audiences dans le panneau de navigation latéral.
Cliquez sur l'onglet Default visibility (Visibilité par défaut).
Cliquez sur Modifier.
Sélectionnez l'une des valeurs suivantes :
Public (visible to anyone) (Public (visible par tous)), pour autoriser tous les utilisateurs à afficher la page
Utilisateurs authentifiés pour autoriser uniquement les utilisateurs enregistrés à afficher la page.
Audiences sélectionnées pour sélectionner les audiences spécifiques que vous souhaitez autoriser à afficher la page. Consultez
Gérer les audiences pour votre portail.
Cliquez sur Appliquer.
UI classique
Sélectionnez Publish > Portals (Publier > Portails) dans la barre de navigation latérale pour afficher la liste des portails.
Cliquez sur la ligne du portail dont vous souhaitez définir la visibilité par défaut.
Cliquez sur Audiences sur la page de destination du portail.
Vous pouvez également sélectionner Audiences dans la liste déroulante du portail dans la barre de navigation supérieure.
Cliquez sur l'onglet Default visibility (Visibilité par défaut).
Cliquez sur .
Sélectionnez l'une des valeurs suivantes :
Public (visible to anyone) (Public (visible par tous)), pour autoriser tous les utilisateurs à afficher la page
Utilisateurs authentifiés pour autoriser uniquement les utilisateurs enregistrés à afficher la page.
Selected audiences (Audiences sélectionnées), pour sélectionner les audiences spécifiques que vous souhaitez autoriser à afficher la page Consultez la page Gérer les audiences pour votre portail.
Cliquez sur Enregistrer.
Sauf indication contraire, le contenu de cette page est régi par une licence Creative Commons Attribution 4.0, et les échantillons de code sont régis par une licence Apache 2.0. Pour en savoir plus, consultez les Règles du site Google Developers. Java est une marque déposée d'Oracle et/ou de ses sociétés affiliées.
Dernière mise à jour le 2025/09/04 (UTC).
[[["Facile à comprendre","easyToUnderstand","thumb-up"],["J'ai pu résoudre mon problème","solvedMyProblem","thumb-up"],["Autre","otherUp","thumb-up"]],[["Difficile à comprendre","hardToUnderstand","thumb-down"],["Informations ou exemple de code incorrects","incorrectInformationOrSampleCode","thumb-down"],["Il n'y a pas l'information/les exemples dont j'ai besoin","missingTheInformationSamplesINeed","thumb-down"],["Problème de traduction","translationIssue","thumb-down"],["Autre","otherDown","thumb-down"]],["Dernière mise à jour le 2025/09/04 (UTC)."],[[["\u003cp\u003eThis page details how to manage the default visibility settings for pages and API products within the Apigee console, applicable to both Apigee and Apigee hybrid.\u003c/p\u003e\n"],["\u003cp\u003eYou must be enrolled in the beta release of the audience management feature to manage the default visibility for specific portal resources.\u003c/p\u003e\n"],["\u003cp\u003eDefault visibility settings can be set to Public, Authenticated users, or Selected audiences, and they only apply when creating resources in the Apigee management console, not via the API.\u003c/p\u003e\n"],["\u003cp\u003eThe visibility of existing portal resources, including pages and APIs, can be modified, as detailed in the linked sections.\u003c/p\u003e\n"],["\u003cp\u003eTo set default visibility, navigate to the Audiences section of your portal and select from the provided visibility options such as 'Public', 'Authenticated users', or 'Selected audiences'.\u003c/p\u003e\n"]]],[],null,["# Managing the default visibility for specific portal resources\n\n*This page\napplies to **Apigee** and **Apigee hybrid**.*\n\n\n*View [Apigee Edge](https://docs.apigee.com/api-platform/get-started/what-apigee-edge) documentation.*\n\n\u003cbr /\u003e\n\n| To manage the default visibility for specific portal resources, you must have [enrolled in the Preview release of the audience management feature](/apigee/docs/api-platform/publish/portal/portal-audience#enroll).\n\nManage the default visibility of pages and API products in the Apigee console.\nWhen creating resources in the Apigee management console, the default visibility will be populated by default. You will have the opportunity to modify the visibility before saving (in the case of Catalog Items) or publishing (in the case of Pages).\n| **Note:** Default visibility settings won't apply when creating resources directly through the API.\n\nIn addition, you can modify the visibility of an existing portal resource, as described in the following sections:\n\n- [Manage the visibility of a page in your portal](/apigee/docs/api-platform/publish/portal/portal-pages#visibility)\n- [Manage the visibility of an API in your portal](/apigee/docs/api-platform/publish/portal/publish-apis#visibility)\n\nTo manage the default visibility for specific portal resources: \n\n### Cloud Console UI\n\n1. In the Apigee in Cloud console, go to the **Distribution \\\u003e Portals** page.\n\n [Go to Portals](https://console.cloud.google.com/apigee/portals)\n2. Click the row of the portal for which you want to set default visibility.\n\n3. Click **Audiences** in the side navigation.\n\n4. Click the **Default visibility** tab.\n\n5. Click **Edit**.\n\n6. Select one of the following values:\n\n - **Public (visible to anyone)** to allow all users to view the page.\n - **Authenticated users** to allow only registered users to view the page.\n - **Selected audiences** to select the specific audiences that you want to be able to view the page. See [Manage the audiences for your portal](/apigee/docs/api-platform/publish/portal/portal-audience).\n\n | **Note:** If you select **Authenticated users** or **Selected audiences**, the portal resources will not be indexed by search engines.\n\n \u003cbr /\u003e\n\n7. Click **Apply**.\n\n### Classic UI\n\n1. Select **Publish \\\u003e Portals** in the side navigation bar to display the list of portals.\n2. Click the row of the portal for which you want to set default visibility.\n3. Click **Audiences** on the portal landing page. Alternatively, you can select **Audiences** in the portal drop-down in the top navigation bar.\n4. Click the **Default visibility** tab.\n5. Click .\n6. Select one of the following values:\n - **Public (visible to anyone)** to allow all users to view the page.\n - **Authenticated users** to allow only registered users to view the page.\n - **Selected audiences** to select the specific audiences that you want to be able to view the page. See [Manage the audiences for your portal](/apigee/docs/api-platform/publish/portal/portal-audience).\n\n | **Note:** If you select **Authenticated users** or **Selected audiences**, the portal resources will not be indexed by search engines.\n7. Click **Save**."]]