UsersApi
All URIs are relative to https://api.ionos.com/databases/mongodb
clustersUsersDelete
clustersUsersDelete(clusterId, username)
Delete a MongoDB User by ID
Deletes a MongoDB user specified by its ID.
Examples
Parameters
clusterId
string
The unique ID of the cluster.
[default to undefined]
username
string
The authentication username.
[default to undefined]
Return type
Authorization
basicAuth, tokenAuth
HTTP request headers
Content-Type: Not defined
Accept: application/json
clustersUsersFindById
clustersUsersFindById(clusterId, username)
Get a MongoDB User by ID
Retrieves the MongoDB user identified by the username.
Examples
Parameters
clusterId
string
The unique ID of the cluster.
[default to undefined]
username
string
The authentication username.
[default to undefined]
Return type
Authorization
basicAuth, tokenAuth
HTTP request headers
Content-Type: Not defined
Accept: application/json
clustersUsersGet
clustersUsersGet(clusterId, opts)
Get all Cluster Users
Retrieves a list of MongoDB users.
Examples
Parameters
clusterId
string
The unique ID of the cluster.
[default to undefined]
limit
number
The maximum number of elements to return. Use together with 'offset' for pagination.
[optional][default to 100]
offset
number
The first element to return. Use together with 'limit' for pagination.
[optional][default to 0]
Return type
Authorization
basicAuth, tokenAuth
HTTP request headers
Content-Type: Not defined
Accept: application/json
clustersUsersPatch
clustersUsersPatch(clusterId, username, patchUserRequest)
Patch a MongoDB User by ID
Patches a MongoDB user specified by its ID.
Examples
Parameters
clusterId
string
The unique ID of the cluster.
[default to undefined]
username
string
The authentication username.
[default to undefined]
Return type
Authorization
basicAuth, tokenAuth
HTTP request headers
Content-Type: application/json
Accept: application/json
clustersUsersPost
clustersUsersPost(clusterId, user)
Create MongoDB User
Creates a MongoDB user.
Examples
Parameters
clusterId
string
The unique ID of the cluster.
[default to undefined]
Return type
Authorization
basicAuth, tokenAuth
HTTP request headers
Content-Type: application/json
Accept: application/json
Last updated