pymongo Python module
Only deletion is supported, creation doesn't make sense and can be done using
mongodb_user.present
.
Ensure that the named database is absent. Note that creation doesn't make sense in MongoDB, since a database doesn't exist if it's empty.
The name of the database to remove
The user to connect as (must be able to create the user)
The password of the user
The host to connect to
The port to connect to
The database in which to authenticate
Whether or not to use SSL to connect to mongodb. Default False.
New in version 3008.0.
Whether or not to verify the server cert when connecting. Default True.
New in version 3008.0.