## Get Cache Reserve Clear `client.Cache.CacheReserve.Status(ctx, query) (*CacheReserveStatusResponse, error)` **get** `/zones/{zone_id}/cache/cache_reserve_clear` You can use Cache Reserve Clear to clear your Cache Reserve, but you must first disable Cache Reserve. In most cases, this will be accomplished within 24 hours. You cannot re-enable Cache Reserve while this process is ongoing. Keep in mind that you cannot undo or cancel this operation. ### Parameters - `query CacheReserveStatusParams` - `ZoneID param.Field[string]` Identifier. ### Returns - `type CacheReserveStatusResponse struct{…}` You can use Cache Reserve Clear to clear your Cache Reserve, but you must first disable Cache Reserve. In most cases, this will be accomplished within 24 hours. You cannot re-enable Cache Reserve while this process is ongoing. Keep in mind that you cannot undo or cancel this operation. - `ID CacheReserveClear` ID of the zone setting. - `const CacheReserveClearCacheReserveClear CacheReserveClear = "cache_reserve_clear"` - `StartTs Time` The time that the latest Cache Reserve Clear operation started. - `State State` The current state of the Cache Reserve Clear operation. - `const StateInProgress State = "In-progress"` - `const StateCompleted State = "Completed"` - `EndTs Time` The time that the latest Cache Reserve Clear operation completed. - `ModifiedOn Time` Last time this setting was modified. ### Example ```go package main import ( "context" "fmt" "github.com/cloudflare/cloudflare-go" "github.com/cloudflare/cloudflare-go/cache" "github.com/cloudflare/cloudflare-go/option" ) func main() { client := cloudflare.NewClient( option.WithAPIToken("Sn3lZJTBX6kkg7OdcBUAxOO963GEIyGQqnFTOFYY"), ) response, err := client.Cache.CacheReserve.Status(context.TODO(), cache.CacheReserveStatusParams{ ZoneID: cloudflare.F("023e105f4ecef8ad9ca31a8372d0c353"), }) if err != nil { panic(err.Error()) } fmt.Printf("%+v\n", response.ID) } ``` #### Response ```json { "errors": [], "messages": [], "result": { "end_ts": "2023-10-02T12:00:00.12345Z", "id": "cache_reserve_clear", "start_ts": "2023-10-02T10:00:00.12345Z", "state": "Completed" }, "success": true } ```