---
title: "POST /v1/{+name}:markAccepted"
method: POST
path: "/v1/{+name}:markAccepted"
tags: ["billingAccounts"]
---

# POST /v1/{+name}:markAccepted

`POST /v1/{+name}:markAccepted`

Marks the Insight State as Accepted. Users can use this method to indicate to the Recommender API that they have applied some action based on the insight. This stops the insight content from being updated. MarkInsightAccepted can be applied to insights in ACTIVE state. Requires the recommender.*.update IAM permission for the specified insight.

## Path parameters

- `name` string, required

## Request body

- GoogleCloudRecommenderV1MarkInsightAcceptedRequest — Request for the `MarkInsightAccepted` method.
  - `etag` string — Required. Fingerprint of the Insight. Provides optimistic locking.
  - `stateMetadata` object — Optional. State properties user wish to include with this state. Full replace of the current state_metadata.

## Response `200`

Successful response

---

[API](https://skmtc.dev/google/apis/recommender.md) · [All operations](https://skmtc.dev/google/apis/recommender/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/google/recommender/revisions/f31252c26a24/schema)
