---
title: "POST /#X-Amz-Target=PaymentCryptographyControlPlane.UntagResource"
method: POST
path: "/#X-Amz-Target=PaymentCryptographyControlPlane.UntagResource"
---

# POST /#X-Amz-Target=PaymentCryptographyControlPlane.UntagResource

`POST /#X-Amz-Target=PaymentCryptographyControlPlane.UntagResource`

Deletes a tag from an Amazon Web Services Payment Cryptography key.

Tagging or untagging an Amazon Web Services Payment Cryptography key can allow or deny permission to the key.

**Cross-account use:** This operation supports cross-account use when the key has a resource-based policy that grants access. For more information, see [Resource-based policies](https://docs.aws.amazon.com/payment-cryptography/latest/userguide/security_iam_resource-based-policies.html).

**Related operations:**

*   [ListTagsForResource](https://docs.aws.amazon.com/payment-cryptography/latest/APIReference/API_ListTagsForResource.html)
    
*   [TagResource](https://docs.aws.amazon.com/payment-cryptography/latest/APIReference/API_TagResource.html)

## Headers

- `X-Amz-Target` 'PaymentCryptographyControlPlane.UntagResource', required

## Request body

- UntagResourceInput
  - `ResourceArn` string, required — The <code>KeyARN</code> of the key whose tags are being removed.
  - `TagKeys` TagKey[], required — <p>One or more tag keys. Don't include the tag values.</p> <p>If the Amazon Web Services Payment Cryptography key doesn't have the specified tag key, Amazon Web Services Payment Cryptography doesn't throw an exception or return a response. To confirm that the operation succeeded, use the <a href="https://docs.aws.amazon.com/payment-cryptography/latest/APIReference/API_ListTagsForResource.html">ListTagsForResource</a> operation.</p>

## Response `200`

Success

- UntagResourceOutput

## Other responses

- `480` — ServiceUnavailableException
- `481` — ValidationException
- `482` — ConflictException
- `483` — AccessDeniedException
- `484` — ResourceNotFoundException
- `485` — ThrottlingException
- `486` — InternalServerException

---

[API](https://skmtc.net/aws/apis/payment-cryptography.md) · [All operations](https://skmtc.net/aws/apis/payment-cryptography/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/aws/payment-cryptography/revisions/1b0b83160e8d/schema)
