UsersApi
Last updated
Last updated
All URIs are relative to https://api.ionos.com/databases/mongodb
Method | HTTP request | Description |
---|---|---|
clustersUsersDelete(clusterId, username)
Delete a MongoDB User by ID
Deletes a MongoDB user specified by its ID.
basicAuth, tokenAuth
Content-Type: Not defined
Accept: application/json
clustersUsersFindById(clusterId, username)
Get a MongoDB User by ID
Retrieves the MongoDB user identified by the username.
basicAuth, tokenAuth
Content-Type: Not defined
Accept: application/json
clustersUsersGet(clusterId, opts)
Get all Cluster Users
Retrieves a list of MongoDB users.
basicAuth, tokenAuth
Content-Type: Not defined
Accept: application/json
clustersUsersPatch(clusterId, username, patchUserRequest)
Patch a MongoDB User by ID
Patches a MongoDB user specified by its ID.
basicAuth, tokenAuth
Content-Type: application/json
Accept: application/json
clustersUsersPost(clusterId, user)
Create MongoDB User
Creates a MongoDB user.
basicAuth, tokenAuth
Content-Type: application/json
Accept: application/json
Name | Type | Description | Notes |
---|---|---|---|
Name | Type | Description | Notes |
---|---|---|---|
Name | Type | Description | Notes |
---|---|---|---|
Name | Type | Description | Notes |
---|---|---|---|
Name | Type | Description | Notes |
---|---|---|---|
DELETE /clusters/{clusterId}/users/{username}
Delete a MongoDB User by ID
GET /clusters/{clusterId}/users/{username}
Get a MongoDB User by ID
GET /clusters/{clusterId}/users
Get all Cluster Users
PATCH /clusters/{clusterId}/users/{username}
Patch a MongoDB User by ID
POST /clusters/{clusterId}/users
Create MongoDB User
clusterId
string
The unique ID of the cluster.
[default to undefined]
username
string
The authentication username.
[default to undefined]
clusterId
string
The unique ID of the cluster.
[default to undefined]
username
string
The authentication username.
[default to undefined]
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]
clusterId
string
The unique ID of the cluster.
[default to undefined]
username
string
The authentication username.
[default to undefined]
patchUserRequest
Part of the MongoDB user which should be modified.
clusterId
string
The unique ID of the cluster.
[default to undefined]
user
The user to be created.