cURL
curl --request POST \ --url https://{tenant}.torchapp.com.au/api/v1/projects/{project_id}/elements/{element_id}/parents \ --header 'Authorization: Bearer <token>' \ --header 'Content-Type: application/json' \ --data ' { "parent_id": "architecto", "attribution_value": 4326.41688, "attribution_colour": "architecto" } '
{}
Add a parent relationship to an element.
Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
Bearer <token>
<token>
The ID of the project.
The ID of the element.
"architecto"
4326.41688
Parent relationship created
The response is of type object.
object