release_tracks: [ALPHA, GA]
hidden: true

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

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

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

async:
  collection: authztoolkit.projects.locations.operations

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