---
title: "PUT /templates/sensitivity-inspections/{id}"
method: PUT
path: "/templates/sensitivity-inspections/{id}"
---

# PUT /templates/sensitivity-inspections/{id}

`PUT /templates/sensitivity-inspections/{id}`

Updates the settings for the sensitivity inspection template for an account.

## Path parameters

- `id` string, required

## Request body

- object
  - `description` string — A custom description of the template. The description can contain as many as 200 characters.
  - `excludes` object — Specifies managed data identifiers to exclude (not use) when performing automated sensitive data discovery for an Amazon Macie account. For information about the managed data identifiers that Amazon Macie currently provides, see <a href="https://docs.aws.amazon.com/macie/latest/user/managed-data-identifiers.html">Using managed data identifiers</a> in the <i>Amazon Macie User Guide</i>.
    - `managedDataIdentifierIds` String[] — An array of unique identifiers, one for each managed data identifier to exclude. To retrieve a list of valid values, use the ListManagedDataIdentifiers operation.
  - `includes` object — Specifies the allow lists, custom data identifiers, and managed data identifiers to include (use) when performing automated sensitive data discovery for an Amazon Macie account. The configuration must specify at least one custom data identifier or managed data identifier. For information about the managed data identifiers that Amazon Macie currently provides, see <a href="https://docs.aws.amazon.com/macie/latest/user/managed-data-identifiers.html">Using managed data identifiers</a> in the <i>Amazon Macie User Guide</i>.
    - `allowListIds` String[] — An array of unique identifiers, one for each allow list to include.
    - `customDataIdentifierIds` String[] — An array of unique identifiers, one for each custom data identifier to include.
    - `managedDataIdentifierIds` String[] — <p>An array of unique identifiers, one for each managed data identifier to include.</p> <p>Amazon Macie uses these managed data identifiers in addition to managed data identifiers that are subsequently released and recommended for automated sensitive data discovery. To retrieve a list of valid values for the managed data identifiers that are currently available, use the ListManagedDataIdentifiers operation.</p> <para/>

## Response `200`

Success

- UpdateSensitivityInspectionTemplateResponse

## Other responses

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

---

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