---
title: "DELETE /_system/cache_management/delete_key/{type} - Cache Management · RUAL Documentation"
description: "Delete a specific cache, increment, or document key (requires manage_cache_delete permission)"
canonical: https://docs.rual.nl/cluster/api/cache-management/system-cache-management-delete-key--type-delete
language: en
---

# DELETE /_system/cache_management/delete_key/{type}

Delete a specific cache, increment, or document key (requires manage_cache_delete permission)

| Key | Type | Example | Description |
| --- | --- | --- | --- |
| **type** required | `string` | `"example"` | Type of key to delete Allowed: `"increment"`, `"cache"`, `"document"` |

| Key | Type | Example | Description |
| --- | --- | --- | --- |
| **[authorization](https://docs.rual.nl/cluster/api#token-providing)** required | `string` | `"Bearer access_token"` | Access token |

| Key | Type | Example | Description |
| --- | --- | --- | --- |
| **guid** optional | `string` | 'a23575f49d0af385314c1f02280163374297e018a692e5e...' | Document GUID (required for document type) |
| **key** required | `string` | `"order_sync"` | Key name to delete (no wildcards allowed) |
| **store_name** optional | `string` | `"joe doe"` | Storage name (required for document type) |

```
{
  "deleted": true,
  "key": "order_sync",
  "type": "totp"
}
```

```
{
  "error": "MISSING_KEY"
}
```

| Status | Error Code | Description |
| --- | --- | --- |
| `400` | `MISSING_KEY` | Invalid request |
| `401` | `INVALID_ACCESS_TOKEN` | Authentication required or invalid token |
| `404` | `KEY_NOT_FOUND` | Key not found |

| Permission | Description |
| --- | --- |
| `Bearer token` | Access token required via Authorization header, x-authtoken, x-token, query param, or cookie |
| `cache_management_remove` | Required scope: cache_management_remove |
