---
title: "PUT /v1/batch-update-recommendation-resource-exclusion"
method: PUT
path: "/v1/batch-update-recommendation-resource-exclusion"
---

# PUT /v1/batch-update-recommendation-resource-exclusion

`PUT /v1/batch-update-recommendation-resource-exclusion`

Update one or more exclusion statuses for a list of recommendation resources. This API supports up to 25 unique recommendation resource ARNs per request. This API currently doesn't support prioritized recommendation resources. This API updates global recommendations, eliminating the need to call the API in each AWS Region. After submitting an exclusion update, note that it might take a few minutes for the changes to be reflected in the system.

## Request body

- object
  - `recommendationResourceExclusions` RecommendationResourceExclusion[], required — A list of recommendation resource ARNs and exclusion status to update
    - `arn` string, required — The ARN of the Recommendation Resource
    - `isExcluded` boolean, required — The exclusion status

## Response `200`

Success

- BatchUpdateRecommendationResourceExclusionResponse
  - `batchUpdateRecommendationResourceExclusionErrors` UpdateRecommendationResourceExclusionError[], required — A list of recommendation resource ARNs whose exclusion status failed to update, if any
    - `arn` string — The ARN of the Recommendation Resource
    - `errorCode` string — The error code
    - `errorMessage` string — The error message

## Other responses

- `480` — AccessDeniedException
- `481` — ConflictException
- `482` — InternalServerException
- `483` — ValidationException
- `484` — ThrottlingException

---

[API](https://skmtc.net/aws/apis/trustedadvisor.md) · [All operations](https://skmtc.net/aws/apis/trustedadvisor/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/aws/trustedadvisor/versions/1c71cc4b8ee0/schema)
