Loading TOC...

DELETE /manage/v2/databases/{super-id-or-name}/sub-databases/{sub-id-or-name}

Summary

Disassociate a sub-database from a super-database and delete the sub-database.

Response

MarkLogic server returns status code 204 (No Content).

Required Privileges

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

http://marklogic.com/xdmp/privileges/manage-admin

Usage Notes

For details, see tieredstorage:database-delete-sub-database and Sub-databases and Super-databases in the Administrator's Guide.

Example


$ curl --anyauth --user user:password -X DELETE -i \
    http://localhost:8002/manage/v2/databases/super-db/sub-databases/sub-db

==> The sub-database sub-db of database super-db is deleted. MarkLogic Server
    responds with output similar to the following:

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

Comments

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