Magidoc

documentRemove
Mutation

Delete or detach a document. Must only receive one of either target_ids or delete = True in input.

Arguments

#

delete

True if you want to delete this document from the system entirely, defaults to False. This will automatically detach the document from every instance it was attached to in the system.

id

ID !
Non-null

ID of the document to remove.

targetIds

[ ID !]

Optional list of IDs of target entities to detach this document from

Response

#

Returns DocumentRemove .

Example

#