v1

latestOpenAPI 3.0.0Apache 2.0 License2026-07-1422123151.4 KB

For a secret that is replicated to other Regions, deletes the secret replicas from the Regions you specify.

Secrets Manager generates a CloudTrail log entry when you call this action. Do not include sensitive information in request parameters because it might be logged. For more information, see Logging Secrets Manager events with CloudTrail.

Required permissions: secretsmanager:RemoveRegionsFromReplication. For more information, see IAM policy actions for Secrets Manager and Authentication and access control in Secrets Manager.

post/#X-Amz-Target=secretsmanager.RemoveRegionsFromReplication

Headers

X-Amz-Target'secretsmanager.RemoveRegionsFromReplication' required

Request body

SecretIdstring required

The ARN or name of the secret.

RemoveReplicaRegionsRegionType[] required

The Regions of the replicas to remove.

Response

Success

ARNstring

The ARN of the primary secret.