Loading TOC...

DELETE /v1/ext/{directories}


Delete the assets in /ext/{directories} in the modules database associated with the REST API instance.


Whether or not any assets exist under the given directory, MarkLogic Server returns status code 204 (Deleted).

Required Privileges

This operation requires the rest-admin role, or the following privileges:




Usage Notes

{directories} must be one or more database directory path steps. For example: /your/domain/. Use the same directory path as was used to install the asset with GET /v1/ext/{directories}/{asset}.

For more details, see Managing Dependent Libraries and Other Assets in the REST Application Developer's Guide.


$ curl --anyauth --user user:password -i -X DELETE  \

==> All assets installed in /ext/my/example/ in the modules database are
    deleted. MarkLogic Server responds with output similar to the following:

HTTP/1.1 204 Deleted
Server: MarkLogic
Content-Length: 0
Connection: Keep-Alive
Keep-Alive: timeout=5

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