github.com/safedep/dry@v0.0.0-20241016050132-a15651f0548b/apiguard/tykgen/docs/CacheInvalidationApi.md (about) 1 # {{classname}} 2 3 All URIs are relative to *http://localhost/* 4 5 Method | HTTP request | Description 6 ------------- | ------------- | ------------- 7 [**InvalidateCache**](CacheInvalidationApi.md#InvalidateCache) | **Delete** /tyk/cache/{apiID} | Invalidate cache 8 9 # **InvalidateCache** 10 > ApiStatusMessage InvalidateCache(ctx, apiID) 11 Invalidate cache 12 13 Invalidate cache for the given API 14 15 ### Required Parameters 16 17 Name | Type | Description | Notes 18 ------------- | ------------- | ------------- | ------------- 19 **ctx** | **context.Context** | context for authentication, logging, cancellation, deadlines, tracing, etc. 20 **apiID** | **string**| The API ID | 21 22 ### Return type 23 24 [**ApiStatusMessage**](apiStatusMessage.md) 25 26 ### Authorization 27 28 [api_key](../README.md#api_key) 29 30 ### HTTP request headers 31 32 - **Content-Type**: Not defined 33 - **Accept**: application/json 34 35 [[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) 36