Editing a Private Endpoint in Object Storage
Update an Object Storage private endpoint's configuration.
You can update the following settings for a private endpoint:
-
Access targets
-
Tagging
You can't update the following:
-
The compartment where the private endpoint resides.
-
Private endpoint name
-
DNS prefix
-
Network security group
- Open the navigation menu and click Storage. Under Object Storage & Archive Storage, click Private Endpoints.
- Select the compartment from the list under List Scope. All the Object Storage private endpoints in that compartment are listed in tabular form.
- Click the private endpoint you want to edit. The private endpoint's Details page appears.
- Click Edit. You can also click the and select Edit. The Edit private endpoint dialog box appears.
- Make your edits. See Creating a Private Endpoint for descriptions of the settings.
- Click Save Changes.
Use the oci os private-endpoint update command and required parameters to edit a private endpoint in Object Storage:
oci os private-endpoint update --pe-name private_endpoint_name --name private_endpoint_name --access-targets access_targets [OPTIONS]
where
access_targets
lists one or more access targets being updated to the new settings using the following syntax:'[{"namespace":"namespace", "compartmentId":"compartment_ocid", "bucket":"bucket"}]'
For example:
oci os private-endpoint update --pe-name pe1 --name pe1 --access-targets '[{"namespace":"MyNamespace", "compartmentId":"ocid1.tenancy.oc1..exampleuniqueID", "bucket":"*"}]' { "opc-work-request-id": "f52e20e6-2c21-4544-be98-c7f9b590c9db" }
For a complete list of parameters and values for CLI commands, see the CLI Command Reference.
Run the following API operation:
POST n/object_storage_namespace/pe/peName