Loading TOC...

GET /manage/v2/security


Retrieve a summary of security information for the cluster.

URL Parameters
view A specific view of the returned data. Allowed values: default.
format The format of the returned data. Can be either html, json, or xml (default). This value overrides the Accept header if both are present. Value can be xml, json or html.
Request Headers
Accept The expected MIME type of the request body. If the format parameter is present, it takes precedence over the Accept header.
Response Headers
Content-type The MIME type of the data in the response body. Depending upon the value of the format parameter or Accept header, one of application/xml, application/json, or text/html.


A successful call to the endpoint will return the HTTP code 200 OK. This is the standard response for successful HTTP requests. The actual response will depend on the request method used.

application/xmlXML Content
application/jsonJSON Content
text/htmlHTML Web Content

Required Privileges

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



> curl -X GET --anyauth -u admin:admin 
            -H "Content-Type:application/xml"  http://localhost:8002/manage/v2/security


<?xml version="1.0" encoding="UTF-8"?>
<security-default-list xsi:schemaLocation="http://marklogic.com/manage/security manage-security.xsd" xmlns="http://marklogic.com/manage/security" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
    <elapsed-time units="sec">0.0117656</elapsed-time>
    <related-view array="true">

This is the XML output for GET.


> curl -X GET --anyauth -u admin:admin 
            -H "Content-Type:application/json"  http://localhost:8002/manage/v2/security



This is the JSON output for GET.


    Powered by MarkLogic Server 7.0-4.1 and rundmc | Terms of Use | Privacy Policy