Loading TOC...

DELETE /v1/config/properties

Summary

Reset all MarkLogic REST API instance configuration properties to their default values.

Response

Upon success, MarkLogic Server returns status 204 (Reset).

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

All properties are reset to their default values.

For more details, see Configuring Instance Properties in the REST Application Developer's Guide.

Example

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

==> All configuration properties are reset to default values. 
  

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