clang.languageConfigDelete

clang.languageConfigDelete() as null

Summary

This function removes all custom language configuration from the cluster configuration files. Calling this function restarts MarkLogic Server.

Required Privileges

This function requires the 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

See Also

Example

'use strict';
const clang = require('/MarkLogic/custom-language');

// NOTE: This call causes a restart.
clang.languageConfigDelete();
    
Powered by MarkLogic Server | Terms of Use | Privacy Policy