With this endpoint, you can remove data properties or object properties from avatars. But it is not possible to remove a property from a relation: to do this, use relationship PUT API
These endpoints are used to manage relationships between avatars.
You can create some relationship using this route with the body:
[
{
"label": "string",
"properties": {},
"sourceIRI": "string",
"targetIRI": "string"
},
{
"label": "string",
"properties": {},
"sourceUUID": "string",
"targetUUID": "string"
}
]
where:
You can also specify two options in the headers:
There are 2 possible responses:
You can retrieve a relationship knowing its UUID (returned in the POST) using this route.
You can update a relationship knowing its UUID (returned in the POST) using this route with this body:
{
"properties": {}
}
where:
There are 3 possible responses:
You can delete a relationship knowing its UUID (returned in the POST) using this route.