Loading TOC...

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

Summary

Disassociate a super-database from a sub-database and delete the super-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-super-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/sub-db/super-databases/super-db

==> The super-database super-db of database sub-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