Options
All
  • Public
  • Public/Protected
  • All
Menu

Class UntagResourceCommand

Removes any tags with the specified keys from the specified resource.

You can attach tags to the following resources in Organizations.

  • Amazon Web Services account

  • Organization root

  • Organizational unit (OU)

  • Policy (any type)

This operation can be called only from the organization's management account.

example

Use a bare-bones client and the command you need to make an API call.

import { OrganizationsClient, UntagResourceCommand } from "@aws-sdk/client-organizations"; // ES Modules import
// const { OrganizationsClient, UntagResourceCommand } = require("@aws-sdk/client-organizations"); // CommonJS import
const client = new OrganizationsClient(config);
const command = new UntagResourceCommand(input);
const response = await client.send(command);
see

UntagResourceCommandInput for command's input shape.

see

UntagResourceCommandOutput for command's response shape.

see

config for OrganizationsClient's config shape.

Hierarchy

Implements

Index

Constructors

constructor

Properties

Readonly input

input: UntagResourceCommandInput

Readonly middlewareStack

middlewareStack: IMiddlewareStack<UntagResourceCommandInput, UntagResourceCommandOutput>

Methods

Static getEndpointParameterInstructions