Deleting an Access Policy
Delete an access policy in Service Mesh.
- Open the navigation menu and click Developer Services. Under Containers & Artifacts, click Service Mesh.
- Click Service Meshes.
- On the Service Mesh page, from the list of compartments on the left side, select a compartment.
- From the list of meshes, click the mesh name for which you want to delete an access policy.
- On the details page of the mesh, under Resources, click Access Policies.
- From the Access Policies table, click the access policy that you want to delete.
- On the details page of the access policy, click Delete.
- In the Delete Access Policy dialog box, click Delete.
To delete an access policy, use the service-mesh resource with the
access-policy
option.oci service-mesh access-policy delete --access-policy-id <access-policy-id>
Example:
oci service-mesh access-policy delete --access-policy-id ocid.accesspolicy.oc1.iad.aaaa....
To see what operations are available for
access-policy delete
use:oci service-mesh access-policy delete -h
Use the DeleteAccessPolicy operation to delete an access policy.