# ClientStorage.delete
Deletes a value from client storage.

{/* Do not edit this file. It is automatically generated by API Documenter. */}

## ClientStorage.delete() method

Deletes a value from client storage.

**Signature:**

```typescript
delete(key: string): Promise<void>;
```

## Parameters

<table>
  <thead>
    <tr>
      <th>
        Parameter
      </th>

      <th>
        Type
      </th>

      <th>
        Description
      </th>
    </tr>
  </thead>

  <tbody>
    <tr>
      <td>
        key
      </td>

      <td>
        string
      </td>

      <td>
        The storage key to delete
      </td>
    </tr>
  </tbody>
</table>

**Returns:**

Promise\<void>

A promise that resolves when the value is deleted

## Example

```ts
await creator.clientStorage.delete("theme");
```
