Etcd · Schema

DeleteRangeRequest

Request to delete a range of key-value pairs from the etcd cluster

Cloud NativeConsensusDistributed SystemsGraduatedKey-Value StoreKubernetes

Properties

Name Type Description
key string The first key in the range to delete in base64-encoded format
range_end string The upper bound of the range to delete in base64-encoded format (exclusive)
prev_kv boolean When true, returns the deleted key-value pairs before deletion
View JSON Schema on GitHub

JSON Schema

etcd-deleterangerequest-schema.json Raw ↑
{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "#/components/schemas/DeleteRangeRequest",
  "title": "DeleteRangeRequest",
  "type": "object",
  "description": "Request to delete a range of key-value pairs from the etcd cluster",
  "required": [
    "key"
  ],
  "properties": {
    "key": {
      "type": "string",
      "description": "The first key in the range to delete in base64-encoded format"
    },
    "range_end": {
      "type": "string",
      "description": "The upper bound of the range to delete in base64-encoded format (exclusive)"
    },
    "prev_kv": {
      "type": "boolean",
      "description": "When true, returns the deleted key-value pairs before deletion"
    }
  }
}