
This resource address modifies the properties of the local cluster.
| URL Parameters | |
|---|---|
| format | The format of the returned data. Can be either
json or xml (default). This parameter overrides the Accept
header if both are present. |
Upon success, MarkLogic Server returns status code 204 (No content). If the payload is malformed, a status code of 400 (Bad Request) is returned. A status code of 401 (Unauthorized) is returned if the user does not have the necessary privileges.
manage-admin role, or the following
privilege: http://marklogic.com/xdmp/privileges/manage-admin
http://marklogic.com/xdmp/privileges/manage
Note: The properties described here are for XML payloads. In general they are the same for
JSON, with the exception that, in JSON, bootstrap-hosts is expressed in
singular form. For example, in JSON, bootstrap-hosts is instead
bootstrap-host and the format is as shown in the example below.
security-versioneffective-versioncluster-idcluster-namessl-fips-enabledxdqp-ssl-certificatebootstrap-hostsThis is a complex structure with the following children:
bootstrap-hostThis is a complex structure with the following children:
bootstrap-host-idbootstrap-host-namebootstrap-connect-portlanguage-baselineopsdirector-log-levelopsdirector-meteringopsdirector-configopsdirector-session-endpointfedrampcluster-token-allow-listThis is a complex structure with the following children:
token-endpointThis is a complex structure with the following children:
token-typeendpoint-urltoken-roledata-directoryfilesystem-directoryroleversion
curl -X PUT --anyauth -u admin:admin --header "Content-Type:application/json" \
-d '{"bootstrap-host": [{
"bootstrap-host-id": "3543728720765551570",
"bootstrap-host-name": "localhost",
"bootstrap-connect-port": 7998}]}' \
http://localhost:8002/manage/v2/properties
==> Sets "localhost" to be the bootstrap host for the cluster.
Stack Overflow: Get the most useful answers to questions from the MarkLogic community, or ask your own question.