> ## Documentation Index
> Fetch the complete documentation index at: https://upstash-dx-3009-array-sdk-docs.mintlify.site/llms.txt
> Use this file to discover all available pages before exploring further.

# ARDEL

> Delete array values without shifting later indexes.

## Arguments

<ParamField body="key" type="str" required>
  The array key.
</ParamField>

<ParamField body="indexes" type="*indexes: int" required>
  One or more indexes, passed as separate arguments.
</ParamField>

## Response

<ResponseField type="int" required>
  The number of occupied slots removed. Empty slots and repeated indexes do not increase the count.
</ResponseField>

<RequestExample>
  ```py Example theme={"system"}
  redis.arset("readings", 0, "a", "b", "c")
  print(redis.ardel("readings", 1, 1, 99))  # 1
  print(redis.argetrange("readings", 0, 2))  # ["a", None, "c"]
  ```
</RequestExample>

See the [server command reference](/redis/commands/array/ardel) for protocol details.
