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

# POST /UntagResource

`POST /UntagResource`

Removes tags from an Amazon Web Services X-Ray group or sampling rule. You cannot edit or delete system tags (those with an <code>aws:</code> prefix).

## Request body

- object
  - `ResourceARN` string, required — The Amazon Resource Number (ARN) of an X-Ray group or sampling rule.
  - `TagKeys` TagKey[], required — Keys for one or more tags that you want to remove from an X-Ray group or sampling rule.

## Response `200`

Success

- UntagResourceResponse

## Other responses

- `480` — InvalidRequestException
- `481` — ThrottledException
- `482` — ResourceNotFoundException

---

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