Loading TOC...

DELETE /manage/v2/packages/{pkgname}/servers/{name}


[DEPRECATED: use GET /manage/v3 and POST /manage/v3 instead.]

This resource address deletes the named server (name) from the named package (pkgname).

URL Parameters
group-id={group-id} The name or ID of the group from which to delete the named server. This parameter is required. (The group named in the payload body is ignored.)
modules Whether or not the modules associated with the server are to be deleted along with the server configuration to the package. Set to true to delete the server modules, or false keep the modules.

Required Privileges

This operation requires the manage-admin role, or the following privilege:



     curl -X DELETE --digest -u admin:admin -H "Content-type: application/xml" \

     ==> Deletes the 'Oscars' server from the "test-package" package. 


Stack Overflow iconStack Overflow: Get the most useful answers to questions from the MarkLogic community, or ask your own question.