curl --request POST \
--url https://api.example.com/api/directory/resources.update \
--header 'Content-Type: application/json' \
--data '
{
"id": "872815618512410358",
"attributes": {},
"relations": [
{
"relation_type_id": "872815618512410358",
"related_id": "872815618512410358"
}
]
}
'