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

# POST /untagresource

`POST /untagresource`

Removes the specified tag key and value pairs from the specified resource share or managed permission.

## Request body

- object
  - `resourceShareArn` string — Specifies the <a href="https://docs.aws.amazon.com/general/latest/gr/aws-arns-and-namespaces.html">Amazon Resource Name (ARN)</a> of the resource share that you want to remove tags from. The tags are removed from the resource share, not the resources in the resource share. You must specify either <code>resourceShareArn</code>, or <code>resourceArn</code>, but not both.
  - `tagKeys` TagKey[], required — Specifies a list of one or more tag keys that you want to remove.
  - `resourceArn` string — Specifies the <a href="https://docs.aws.amazon.com/general/latest/gr/aws-arns-and-namespaces.html">Amazon Resource Name (ARN)</a> of the managed permission that you want to remove tags from. You must specify either <code>resourceArn</code>, or <code>resourceShareArn</code>, but not both.

## Response `200`

Success

- UntagResourceResponse

## Other responses

- `480` — UnknownResourceException
- `481` — InvalidParameterException
- `482` — MalformedArnException
- `483` — ServerInternalException
- `484` — ServiceUnavailableException

---

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