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

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

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

Adds to or modifies the tags of the given resource. Tags are metadata which can be used to manage a resource.

## Headers

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

## Request body

- TagResourceRequest
  - `ResourceARN` string, required — The ARN of the resource.
  - `Tags` Tag[], required — The new or modified tags for the resource.
    - `Key` string, required — The tag's key.
    - `Value` string, required — The tag's value.

## Response `200`

Success

- TagResourceResponse

## Other responses

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

---

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