clang.languageConfigDelete() as null
This function removes all custom language configuration from the cluster configuration files. Calling this function restarts MarkLogic Server.
custom-language-admin-write
role or the following privileges:
http://marklogic.com/xdmp/privileges/custom-language-write
http://marklogic.com/xdmp/privileges/xdmp-write-cluster-config-file/languages.xml
'use strict'; const clang = require('/MarkLogic/custom-language'); // NOTE: This call causes a restart. clang.languageConfigDelete();
Stack Overflow: Get the most useful answers to questions from the MarkLogic community, or ask your own question.