---
title: "Createa a new component and adds to the device."
method: POST
path: "/devices/{deviceId}/components"
tags: ["Devices"]
---

# Createa a new component and adds to the device.

`POST /devices/{deviceId}/components`

## Response `201`

Created successfully

## Other responses

- `400` — Invalid input

---

[API](https://skmtc.dev/aws-samples/apis/aws-connected-device-framework-asset-library.md) · [All operations](https://skmtc.dev/aws-samples/apis/aws-connected-device-framework-asset-library/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/aws-samples/aws-connected-device-framework-asset-library/revisions/78967b3d609f/schema)
