release_tracks: [ALPHA, GA]
hidden: true

help_text:
  brief: |
    Delete a policy.
  description: |
    Delete the specified policy.
  examples: |
      To delete a policy called `my-policy`, run:

        $ {command} my-policy --location=us-central1

arguments:
  resource:
    spec: !REF googlecloudsdk.command_lib.authz_toolkit.resources:policy
    help_text: |
      Name of the policy you want to delete.

async:
  collection: authztoolkit.projects.locations.operations

request:
  ALPHA:
    api_version: v1alpha
  GA:
    api_version: v1
  collection: authztoolkit.projects.locations.policies
