Remove document relation
POST https://{{host}}/athento/site/automation/Blob.RemoveFromDocument/
Remove a relation of a document.
Permissions
The user needs write permission on the document.
Mandatory data
This web service requires at least:
input
"params" -> "xpath"
Input
This request needs as an input
the UUID of the document for which the relation will be deleted.
Params
xpath
You can specify 2 differents values:
**files:files/**
: Specify the index of the relation to be deleted in ". Only the relation between the documents will be deleted, not the related document. To know the index of the relation to delete, use the endpoint
/file/api/file//related/".: Specify the filename of the relation to be deleted in
. Only the relation between the documents will be deleted, not the related document.
Request Body
{"input"=>"a7e7c74c-ca91-41d0-9f47-c4960ed99b13", "params"=>{"xpath"=>"Relation1"}}