Loading TOC...

PUT /manage/v2/databases/{id|name}/partitions/{name}/properties


Modify the configuration of the partition identified by {name} in the database identified by {id|name}.

Request Headers
Content-type The MIME type of the data in the request body. Supported values: application/xml, application/json.


Upon success, MarkLogic Server returns a status code 204 (No Content).

Required Privileges

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


Usage Notes

You can set the property values as follows:

For details, see Common Forest and Partition Operations in the Administrator's Guide.


Availability of the forest data.


The kinds of updates that should be allowed for this forest.


$ cat partition-prop.xml
<partition-properties xmlns="http://marklogic.com/manage">

$ cat partition-prop.json
  "availability": "online",
  "updates-allowed": all"

$ curl --anyauth --user user:password -X PUT -d @./partition-prop.xml \
    -i -H "Content-type: application/xml" \

==> Set the availability and updates-allowed properties of the partition
    named 2011 of the database example-db. MarkLogic Server responds
    with status code 204 (No Content) and headers similar to the following:

HTTP/1.1 204 No Content
Server: MarkLogic
Content-Length: 0
Connection: Keep-Alive
Keep-Alive: timeout=5


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