
Retrieve secure credentials.
| URL Parameters | |
|---|---|
| format | The format of the data in the response body.
Allowed values: html, json or xml (default). Use this
parameter to override the Accept header. |
Upon success, MarkLogic server returns status code 200 (OK) and the response body contains the requested data. A status code of 401 (Unauthorized) is returned if the user does not have the necessary privileges.
manage-admin and security rolehttp://marklogic.com/xdmp/privileges/manage
http://marklogic.com/xdmp/privileges/manage-admin
The structure of the output returned from this REST API is as follows:
metaThis is a complex structure with the following children:
uricurrent-timeelapsed-timestart-minview-errorThis is a complex structure with the following children:
error-typeerror-nameerror-codeerror-messagelist-itemsThis is a complex structure with the following children:
list-countlist-itemThis is a complex structure with the following children:
urirefidrefnamerefnamespacedocument-urimodules-database
http://localhost:8002/manage/v2/credentials/secure
==> Returns the secure credentials.
Stack Overflow: Get the most useful answers to questions from the MarkLogic community, or ask your own question.