> For the complete documentation index, see [llms.txt](https://developer.harness.io/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://developer.harness.io/api-reference/cost-management-agent-apis/autostopping/cloud-cost-auto-stopping-cluster-recommendations.md).

# Cloud Cost Auto Stopping Cluster Recommendations

## Mark a cluster rule recommendation as expired

> Soft-expires the recommendation by setting expires\_at to now. Used by the cluster discovery agent when traffic routes become stale (deleted ingress/host or mismatched backend).

```json
{"openapi":"3.0.1","info":{"title":"Lightwing APIs","version":"1.0.0"},"tags":[],"servers":[{"url":"https://app.harness.io/gateway"}],"paths":{"/accounts/{account_id}/autostopping/clusters/{cluster_id}/recommendations/{rec_id}/expire":{"post":{"tags":["Cloud Cost AutoStopping Cluster Recommendations"],"summary":"Mark a cluster rule recommendation as expired","description":"Soft-expires the recommendation by setting expires_at to now. Used by the cluster discovery agent when traffic routes become stale (deleted ingress/host or mismatched backend).","operationId":"ExpireK8sClusterRuleRecommendation","parameters":[{"name":"account_id","in":"path","required":true,"schema":{"type":"string"}},{"name":"cluster_id","in":"path","required":true,"schema":{"type":"string"}},{"name":"rec_id","in":"path","required":true,"description":"Rule recommendation id","schema":{"type":"string"}},{"name":"accountIdentifier","in":"query","required":true,"schema":{"type":"string"}}],"responses":{"200":{"description":"Recommendation expired"},"400":{"description":"Invalid request"},"404":{"description":"Recommendation not found"}}}}}}
```
