
pkg:remove-modules( $pkgname as xs:string, $group as xs:string, $server as xs:string ) as empty-sequence()
[DEPRECATED: use cma:generate-config and
cma:apply-config instead.]
xquery version "1.0-ml";
import module namespace pkg = "http://marklogic.com/manage/package"
at "/MarkLogic/manage/package/package.xqy";
pkg:remove-modules("mypackage", "Default", "myserver")
(: Removes the modules data used by the 'myserver' app server in the
package named, 'mypackage'. :)
Stack Overflow: Get the most useful answers to questions from the MarkLogic community, or ask your own question.