MarkLogic 9 Product Documentation
DELETE /v1/config/query

Summary

Remove all named query options.

Response

Upon successful removal, MarkLogic returns status 204 (Deleted).

Required Privileges

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

http://marklogic.com/xdmp/privileges/rest-admin

http://marklogic.com/xdmp/privileges/rest-writer

http://marklogic.com/xdmp/privileges/rest-reader

Usage Notes

For more details, see Configuring Query Options in the REST Application Developer's Guide.

Example

$ curl --anyauth --user user:password -X DELETE -i \
  http://localhost:8000/v1/config/query

==> All installed options are removed. The following headers are returned:

Server: MarkLogic
Content-Type: text/plain; charset=UTF-8
Content-Length: 31
Connection: close

HTTP/1.1 204 Deleted
Server: MarkLogic
Content-Length: 0
Connection: close
  
Powered by MarkLogic Server | Terms of Use | Privacy Policy