Remove a relationship between a primary Asset and one or more secondary Assets. Specify the primary Asset Object ID as a path parameter. Specify the secondary Asset Object IDs and Link Types as an array in the request body.
The user requesting the Asset relationships must have view access to both the primary Asset and the related Assets in order to relationships and the related Assets.
The Request Body is a JSON object.
Array of objects (RelationshipDeleteRequest_secondaryIds) |
Successful operation with relationshipId
Invalid JSON request object.
Unauthorized. Missing Authorization or AccessToken or expired token
Forbidden. Missing X-API-key
{- "secondaryIds": [
- {
- "id": "f81769d1-8e93-4af7-856e-56ea30ec1038",
- "linkType": "child"
}
]
}
[- {
- "status": "success",
- "message": "Relationship deleted successfully",
- "relationshipId": "f81769d1-8e93-4af7-856e-56ea30ec1038-c91f8b40-a7ba-476c-b52f-341952f6c250"
}
]