McMain icon

McMain

Interact with McMain API

Asset → Change Parent

AI-generated

Summary

POST /Asset/ChangeParent

Inputs

  • id (required) — ID of the asset
  • newParent (required) — ID of the new parent asset

Output shape

API response

Returned data shape not explicitly declared; describe as received from the endpoint.

Examples

Example 1: Change parent of asset A to asset B

id = asset A ID, newParent = asset B ID

Discussion