Deleting an Access Policy

Delete an access policy in Service Mesh.

    1. Open the navigation menu and click Developer Services. Under Containers & Artifacts, click Service Mesh.
    2. Click Service Meshes.
    3. On the Service Mesh page, from the list of compartments on the left side, select a compartment.
    4. From the list of meshes, click the mesh name for which you want to delete an access policy.
    5. On the details page of the mesh, under Resources, click Access Policies.
    6. From the Access Policies table, click the access policy that you want to delete.
    7. On the details page of the access policy, click Delete.
    8. 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.