Loading TOC...

MarkLogic 9 Product Documentation
DELETE /v1/config/properties/{property-name}

Summary

Reset the MarkLogic REST API instance configuration property {property-name} to its default value.

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

For a list of property names, see GET /v1/config/properties/{property-name}.

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

Example

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

==> The "debug" configuration property is reset to its default value.
  

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