---
title: "POST /#X-Amz-Target=AWSBilling.TagResource"
method: POST
path: "/#X-Amz-Target=AWSBilling.TagResource"
---

# POST /#X-Amz-Target=AWSBilling.TagResource

`POST /#X-Amz-Target=AWSBilling.TagResource`

An API operation for adding one or more tags (key-value pairs) to a resource.

## Headers

- `X-Amz-Target` 'AWSBilling.TagResource', required

## Request body

- TagResourceRequest
  - `resourceArn` string, required — The Amazon Resource Name (ARN) of the resource.
  - `resourceTags` ResourceTag[], required — A list of tag key value pairs that are associated with the resource.
    - `key` string, required — The key that's associated with the tag.
    - `value` string — The value that's associated with the tag.

## Response `200`

Success

- TagResourceResponse

## Other responses

- `480` — ThrottlingException
- `481` — ResourceNotFoundException
- `482` — AccessDeniedException
- `483` — ValidationException
- `484` — InternalServerException

---

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