Delete a forest.
The type of state change to initiate. Allowed values: |
Determines how to process the replicas. Allowed values:
Upon successful completion, 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.
manage-adminrole, or the following privilege:
$ curl --anyauth --user user:password -X DELETE -i \ http://localhost:8002/manage/v2/forests/example?level=full ==> The forest named "example" is deleted, along with all of the data it contained. MarkLogic Server responds with headers similar to the following: HTTP/1.1 204 No Content Server: MarkLogic Content-Length: 0 Connection: Keep-Alive Keep-Alive: timeout=5