v1

latestOpenAPI 3.0.0Apache 2.0 License2026-07-1455233317.4 KB

Creates or updates a resource policy.

You can only call this operation from the organization's management account.

post/#X-Amz-Target=AWSOrganizationsV20161128.PutResourcePolicy

Headers

X-Amz-Target'AWSOrganizationsV20161128.PutResourcePolicy' required

Request body

Contentstring required

If provided, the new content for the resource policy. The text must be correctly formatted JSON that complies with the syntax for the resource policy's type. For more information, see <a href="https://docs.aws.amazon.com/organizations/latest/userguide/orgs_reference_scp-syntax.html">Service Control Policy Syntax</a> in the <i>Organizations User Guide.</i>

Response

Success