{
  "schema_version": 2,
  "id": "operate/rs/references/cli-utilities/crdb-cli/crdb/delete",
  "title": "crdb-cli crdb delete",
  "url": "https://redis.io/docs/latest/operate/rs/references/cli-utilities/crdb-cli/crdb/delete/",
  "summary": "Deletes an Active-Active database.",
  "tags": [
    "docs",
    "operate",
    "rs"
  ],
  "last_updated": "2023-12-14T15:27:49+01:00",
  "page_type": "content",
  "content_hash": "bc5ec45e968a8e74020a986475eb0f7d8a61f92f617e7adb290bed63a27b546c",
  "sections": [
    {
      "id": "overview",
      "title": "Overview",
      "role": "overview",
      "text": "Deletes an Active-Active database.\n\n[code example]\n\nThis command is irreversible. If the data in your database is important, back it up before you delete the database."
    },
    {
      "id": "parameters",
      "title": "Parameters",
      "role": "parameters",
      "text": "| Parameter           | Value  | Description                         |\n|---------------------|--------|-------------------------------------|\n| crdb-guid | string | The GUID of the database (required) |\n| no-wait             |        | Does not wait for the task to complete |"
    },
    {
      "id": "returns",
      "title": "Returns",
      "role": "returns",
      "text": "Returns the task ID of the task that is deleting the database.\n\nIf `--no-wait` is specified, the command exits. Otherwise, it will wait for the database to be deleted and return `finished`."
    },
    {
      "id": "example",
      "title": "Example",
      "role": "example",
      "text": "[code example]"
    }
  ],
  "examples": [
    {
      "id": "overview-ex0",
      "language": "sh",
      "code": "crdb-cli crdb delete --crdb-guid <guid>\n         [ --no-wait ]",
      "section_id": "overview"
    },
    {
      "id": "example-ex0",
      "language": "sh",
      "code": "$ crdb-cli crdb delete --crdb-guid db6365b5-8aca-4055-95d8-7eb0105c0b35\nTask dfe6cacc-88ff-4667-812e-938fd05fe359 created\n  ---> Status changed: queued -> started\n  ---> Status changed: started -> finished",
      "section_id": "example"
    }
  ]
}
