sem.graphRemovePermissions( graph as sem.iri, permissions as Object[] ) as null
Remove permissions from the graph specified. The user must have update permissions on the graph.
This function is a built-in.
declareUpdate(); var sem = require('/MarkLogic/semantics'); var perms = xdmp.defaultPermissions("graphs/myDemoGraph"); sem.graphRemovePermissions(sem.iri("MyGraph"), perms);
Stack Overflow: Get the most useful answers to questions from the MarkLogic community, or ask your own question.