Deletes the resource policy from your organization.
You can only call this operation from the organization's management account.
Use a bare-bones client and the command you need to make an API call.
import { OrganizationsClient, DeleteResourcePolicyCommand } from "@aws-sdk/client-organizations"; // ES Modules import // const { OrganizationsClient, DeleteResourcePolicyCommand } = require("@aws-sdk/client-organizations"); // CommonJS import const client = new OrganizationsClient(config); const command = new DeleteResourcePolicyCommand(input); const response = await client.send(command);
DeleteResourcePolicyCommandInput for command's input shape.
input
DeleteResourcePolicyCommandOutput for command's response shape.
response
config for OrganizationsClient's config shape.
config
Deletes the resource policy from your organization.
You can only call this operation from the organization's management account.
Use a bare-bones client and the command you need to make an API call.
import { OrganizationsClient, DeleteResourcePolicyCommand } from "@aws-sdk/client-organizations"; // ES Modules import // const { OrganizationsClient, DeleteResourcePolicyCommand } = require("@aws-sdk/client-organizations"); // CommonJS import const client = new OrganizationsClient(config); const command = new DeleteResourcePolicyCommand(input); const response = await client.send(command);
DeleteResourcePolicyCommandInput for command's
input
shape.DeleteResourcePolicyCommandOutput for command's
response
shape.config for OrganizationsClient's
config
shape.