HEX
Server: Apache/2.4.68 (Debian)
System: Linux as-cs-widget-demo-us-central1 6.1.0-44-cloud-amd64 #1 SMP PREEMPT_DYNAMIC Debian 6.1.164-1 (2026-03-09) x86_64
User: root (0)
PHP: 8.2.32
Disabled: NONE
Upload Files
File: //lib/google-cloud-sdk/lib/surface/memcache/instances/delete.yaml
- release_tracks: [ALPHA, BETA, GA]
  help_text:
    brief: |
      Delete a Memorystore Memcached instance.
    description: |
      Delete a Memorystore Memcached instance.

      This command can fail for the following reasons:
        * The instance specified does not exist.
        * The active account does not have permission to access the given
          instance.
    examples: |
      To delete an instance named `my-memcache-instance` in region `us-central1`, run:

        $ {command} my-memcache-instance --region=us-central1

  arguments:
    resource:
      spec: !REF googlecloudsdk.command_lib.memcache.resources:instance
      help_text: |
        Arguments and flags that specify the Memcached instance to delete.

  async:
    collection: memcache.projects.locations.operations

  input:
    confirmation_prompt: |
      You are about to delete instance [{__name__}] in [{locationsId}].
      Any associated data will be lost.

  request:
    ALPHA:
      api_version: v1beta2
    BETA:
      api_version: v1beta2
    GA:
      api_version: v1
    collection: memcache.projects.locations.instances