---
title: "POST /updateDeletionProtection"
method: POST
path: "/updateDeletionProtection"
---

# POST /updateDeletionProtection

`POST /updateDeletionProtection`

Update deletion protection to either allow or deny deletion of the final Region in a replication set.

## Request body

- object
  - `arn` string, required — The Amazon Resource Name (ARN) of the replication set to update.
  - `clientToken` string — A token that ensures that the operation is called only once with the specified details.
  - `deletionProtected` boolean, required — Specifies if deletion protection is turned on or off in your account.

## Response `204`

Success

- UpdateDeletionProtectionOutput

## Other responses

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

---

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