Loading TOC...

DELETE /manage/v2/databases/{id|name}/partition-queries/{partition-number}


Delete the query for the query partition identified by {partition-number} from the database identified by {id|name}.

URL Parameters
format The format of the data in the response body. Allowed values: html, json, or xml. Use this parameter to override the Accept header.
Request Headers
Accept The expected MIME type of the response. If the format parameter is present, it takes precedence over the Accept header. Supported values: application/xml, application/json.


MarkLogic server returns status code 204 (No Content). A status code of 401 (Unauthorized) is returned if the user does not have the necessary privileges.

Required Privileges

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



$ curl --anyauth --user user:password -X DELETE -i \

==> The query partition, number 2, is deleted. 

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