---
title: "POST /assets/{assetId}/disassociate"
method: POST
path: "/assets/{assetId}/disassociate"
---

# POST /assets/{assetId}/disassociate

`POST /assets/{assetId}/disassociate`

Disassociates a child asset from the given parent asset through a hierarchy defined in the parent asset's model.

## Path parameters

- `assetId` string, required

## Request body

- object
  - `hierarchyId` string, required — The ID of a hierarchy in the parent asset's model. Hierarchies allow different groupings of assets to be formed that all come from the same asset model. You can use the hierarchy ID to identify the correct asset to disassociate. For more information, see <a href="https://docs.aws.amazon.com/iot-sitewise/latest/userguide/asset-hierarchies.html">Asset hierarchies</a> in the <i>IoT SiteWise User Guide</i>.
  - `childAssetId` string, required — The ID of the child asset to disassociate.
  - `clientToken` string — A unique case-sensitive identifier that you can provide to ensure the idempotency of the request. Don't reuse this client token if a new idempotent request is required.

## Response `200`

Success

## Other responses

- `480` — InvalidRequestException
- `481` — ResourceNotFoundException
- `482` — InternalFailureException
- `483` — ThrottlingException
- `484` — ConflictingOperationException

---

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