DELETE /_system/cache_management/delete_key/{type}
Delete a specific cache, increment, or document key (requires manage_cache_delete permission)
Delete a specific cache, increment, or document key (requires manage_cache_delete permission)
| Key | Type | Example | Description |
|---|---|---|---|
| type required | string |
"example-string"
|
Type of key to delete
Allowed:
increment, cache, document |
| Key | Type | Example | Description |
|---|---|---|---|
| authorization required | string |
"Bearer access_token"
|
Access token
|
| Key | Type | Example | Description |
|---|---|---|---|
| key required | string |
"example-string"
|
Key name to delete (no wildcards allowed)
|
| store_name optional | string |
"example-string"
|
Storage name (required for document type)
|
| guid optional | string |
"example-string"
|
Document GUID (required for document type)
|
{
"deleted": true,
"key": "example-string",
"type": "example-string"
}
{
"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 |
Back to Cache Management Return to the Cache Management category to view other endpoints All API Categories Browse all available API categories