UsersApi
UsersApi
Method
HTTP request
Description
clustersUsersDelete
Example
// Import classes:
import com.ionoscloud.dbaasmongo.ApiClient;
import com.ionoscloud.dbaasmongo.ApiException;
import com.ionoscloud.dbaasmongo.Configuration;
import com.ionoscloud.dbaasmongo.auth.*;
import com.ionoscloud.dbaasmongo.model.*;
import com.ionoscloud.dbaasmongo.api.UsersApi;
public class Example {
public static void main(String[] args) {
ApiClient defaultClient = Configuration.getDefaultApiClient();
// Configure HTTP basic authorization: basicAuth
HttpBasicAuth basicAuthentication = (HttpBasicAuth) defaultClient.getAuthentication("basicAuth");
basicAuthentication.setUsername("YOUR USERNAME");
basicAuthentication.setPassword("YOUR PASSWORD");
UsersApi apiInstance = new UsersApi(defaultClient);
String clusterId = "clusterId_example"; // String | The unique ID of the cluster.
String username = "username_example"; // String | The authentication username.
try {
User result = apiInstance.clustersUsersDelete(clusterId, username);
System.out.println(result);
} catch (ApiException e) {
System.err.println("Exception when calling UsersApi#clustersUsersDelete");
System.err.println("Status code: " + e.getCode());
System.err.println("Reason: " + e.getResponseBody());
System.err.println("Response headers: " + e.getResponseHeaders());
e.printStackTrace();
}
}
}Parameters
Name
Type
Description
Notes
Return type
HTTP request headers
clustersUsersFindById
Example
Parameters
Name
Type
Description
Notes
Return type
HTTP request headers
clustersUsersGet
Example
Parameters
Name
Type
Description
Notes
Return type
HTTP request headers
clustersUsersPatch
Example
Parameters
Name
Type
Description
Notes
Return type
HTTP request headers
clustersUsersPost
Example
Parameters
Name
Type
Description
Notes
Return type
HTTP request headers
Last updated
