[DEPRECATED: Use PUT /manage/v2/servers/{id|name}/properties instead.]
Remove all installed namespace bindings.
MarkLogic Server responds with 204 (Deleted).
rest-admin
role, or the
following privileges:
http://marklogic.com/xdmp/privileges/rest-admin
http://marklogic.com/xdmp/privileges/rest-writer
http://marklogic.com/xdmp/privileges/rest-reader
DELETE /v1/config/namespaces/{prefix}
.
For details, see Using Namespace Bindings in the REST Application Developer's Guide.
$ curl --anyauth --user user:password -X DELETE -i \ http://localhost:8000/v1/config/namespaces ==> MarkLogic Server removes all namespace bindings for the REST service on port 8000. MarkLogic Server returns the following headers: Server: MarkLogic Content-Type: text/xml; charset=UTF-8 Content-Length: 211 Connection: close HTTP/1.1 204 Deleted Server: MarkLogic Content-Length: 0 Connection: close