All URIs are relative to https://prod.api.appcluster01.ca-central-1.ezmax.com/rest
Method | HTTP request | Description |
---|---|---|
UsersCreateObjectScimV2 | POST /2/scim/Users | Create a new User |
UsersDeleteObjectScimV2 | DELETE /2/scim/Users/{userId} | Delete an existing User |
UsersEditObjectScimV2 | PUT /2/scim/Users/{userId} | Edit an existing User |
UsersGetListScimV2 | GET /2/scim/Users | Retrieve User list |
UsersGetObjectScimV2 | GET /2/scim/Users/{userId} | Retrieve an existing User |
ScimUser UsersCreateObjectScimV2 (ScimUser scimUser)
Create a new User
using System.Collections.Generic;
using System.Diagnostics;
using eZmaxApi.Api;
using eZmaxApi.Client;
using eZmaxApi.Model;
namespace Example
{
public class UsersCreateObjectScimV2Example
{
public static void Main()
{
Configuration config = new Configuration();
config.BasePath = "https://prod.api.appcluster01.ca-central-1.ezmax.com/rest";
// Configure Bearer token for authorization: Bearer
config.AccessToken = "YOUR_BEARER_TOKEN";
var apiInstance = new ScimUsersApi(config);
var scimUser = new ScimUser(); // ScimUser |
try
{
// Create a new User
ScimUser result = apiInstance.UsersCreateObjectScimV2(scimUser);
Debug.WriteLine(result);
}
catch (ApiException e)
{
Debug.Print("Exception when calling ScimUsersApi.UsersCreateObjectScimV2: " + e.Message);
Debug.Print("Status Code: " + e.ErrorCode);
Debug.Print(e.StackTrace);
}
}
}
}
This returns an ApiResponse object which contains the response data, status code and headers.
try
{
// Create a new User
ApiResponse<ScimUser> response = apiInstance.UsersCreateObjectScimV2WithHttpInfo(scimUser);
Debug.Write("Status Code: " + response.StatusCode);
Debug.Write("Response Headers: " + response.Headers);
Debug.Write("Response Body: " + response.Data);
}
catch (ApiException e)
{
Debug.Print("Exception when calling ScimUsersApi.UsersCreateObjectScimV2WithHttpInfo: " + e.Message);
Debug.Print("Status Code: " + e.ErrorCode);
Debug.Print(e.StackTrace);
}
Name | Type | Description | Notes |
---|---|---|---|
scimUser | ScimUser |
- Content-Type: application/json
- Accept: application/json
Status code | Description | Response headers |
---|---|---|
201 | Created | - |
[Back to top] [Back to API list] [Back to Model list] [Back to README]
void UsersDeleteObjectScimV2 (string userId)
Delete an existing User
using System.Collections.Generic;
using System.Diagnostics;
using eZmaxApi.Api;
using eZmaxApi.Client;
using eZmaxApi.Model;
namespace Example
{
public class UsersDeleteObjectScimV2Example
{
public static void Main()
{
Configuration config = new Configuration();
config.BasePath = "https://prod.api.appcluster01.ca-central-1.ezmax.com/rest";
// Configure Bearer token for authorization: Bearer
config.AccessToken = "YOUR_BEARER_TOKEN";
var apiInstance = new ScimUsersApi(config);
var userId = "userId_example"; // string |
try
{
// Delete an existing User
apiInstance.UsersDeleteObjectScimV2(userId);
}
catch (ApiException e)
{
Debug.Print("Exception when calling ScimUsersApi.UsersDeleteObjectScimV2: " + e.Message);
Debug.Print("Status Code: " + e.ErrorCode);
Debug.Print(e.StackTrace);
}
}
}
}
This returns an ApiResponse object which contains the response data, status code and headers.
try
{
// Delete an existing User
apiInstance.UsersDeleteObjectScimV2WithHttpInfo(userId);
}
catch (ApiException e)
{
Debug.Print("Exception when calling ScimUsersApi.UsersDeleteObjectScimV2WithHttpInfo: " + e.Message);
Debug.Print("Status Code: " + e.ErrorCode);
Debug.Print(e.StackTrace);
}
Name | Type | Description | Notes |
---|---|---|---|
userId | string |
void (empty response body)
- Content-Type: Not defined
- Accept: Not defined
Status code | Description | Response headers |
---|---|---|
204 | No Content | - |
[Back to top] [Back to API list] [Back to Model list] [Back to README]
ScimUser UsersEditObjectScimV2 (string userId, ScimUser scimUser)
Edit an existing User
using System.Collections.Generic;
using System.Diagnostics;
using eZmaxApi.Api;
using eZmaxApi.Client;
using eZmaxApi.Model;
namespace Example
{
public class UsersEditObjectScimV2Example
{
public static void Main()
{
Configuration config = new Configuration();
config.BasePath = "https://prod.api.appcluster01.ca-central-1.ezmax.com/rest";
// Configure Bearer token for authorization: Bearer
config.AccessToken = "YOUR_BEARER_TOKEN";
var apiInstance = new ScimUsersApi(config);
var userId = "userId_example"; // string |
var scimUser = new ScimUser(); // ScimUser |
try
{
// Edit an existing User
ScimUser result = apiInstance.UsersEditObjectScimV2(userId, scimUser);
Debug.WriteLine(result);
}
catch (ApiException e)
{
Debug.Print("Exception when calling ScimUsersApi.UsersEditObjectScimV2: " + e.Message);
Debug.Print("Status Code: " + e.ErrorCode);
Debug.Print(e.StackTrace);
}
}
}
}
This returns an ApiResponse object which contains the response data, status code and headers.
try
{
// Edit an existing User
ApiResponse<ScimUser> response = apiInstance.UsersEditObjectScimV2WithHttpInfo(userId, scimUser);
Debug.Write("Status Code: " + response.StatusCode);
Debug.Write("Response Headers: " + response.Headers);
Debug.Write("Response Body: " + response.Data);
}
catch (ApiException e)
{
Debug.Print("Exception when calling ScimUsersApi.UsersEditObjectScimV2WithHttpInfo: " + e.Message);
Debug.Print("Status Code: " + e.ErrorCode);
Debug.Print(e.StackTrace);
}
Name | Type | Description | Notes |
---|---|---|---|
userId | string | ||
scimUser | ScimUser |
- Content-Type: application/json
- Accept: application/json
Status code | Description | Response headers |
---|---|---|
200 | OK | - |
[Back to top] [Back to API list] [Back to Model list] [Back to README]
ScimUserList UsersGetListScimV2 (string? filter = null)
Retrieve User list
using System.Collections.Generic;
using System.Diagnostics;
using eZmaxApi.Api;
using eZmaxApi.Client;
using eZmaxApi.Model;
namespace Example
{
public class UsersGetListScimV2Example
{
public static void Main()
{
Configuration config = new Configuration();
config.BasePath = "https://prod.api.appcluster01.ca-central-1.ezmax.com/rest";
// Configure Bearer token for authorization: Bearer
config.AccessToken = "YOUR_BEARER_TOKEN";
var apiInstance = new ScimUsersApi(config);
var filter = "filter_example"; // string? | Filter expression for searching users (optional)
try
{
// Retrieve User list
ScimUserList result = apiInstance.UsersGetListScimV2(filter);
Debug.WriteLine(result);
}
catch (ApiException e)
{
Debug.Print("Exception when calling ScimUsersApi.UsersGetListScimV2: " + e.Message);
Debug.Print("Status Code: " + e.ErrorCode);
Debug.Print(e.StackTrace);
}
}
}
}
This returns an ApiResponse object which contains the response data, status code and headers.
try
{
// Retrieve User list
ApiResponse<ScimUserList> response = apiInstance.UsersGetListScimV2WithHttpInfo(filter);
Debug.Write("Status Code: " + response.StatusCode);
Debug.Write("Response Headers: " + response.Headers);
Debug.Write("Response Body: " + response.Data);
}
catch (ApiException e)
{
Debug.Print("Exception when calling ScimUsersApi.UsersGetListScimV2WithHttpInfo: " + e.Message);
Debug.Print("Status Code: " + e.ErrorCode);
Debug.Print(e.StackTrace);
}
Name | Type | Description | Notes |
---|---|---|---|
filter | string? | Filter expression for searching users | [optional] |
- Content-Type: Not defined
- Accept: application/json
Status code | Description | Response headers |
---|---|---|
200 | OK | - |
[Back to top] [Back to API list] [Back to Model list] [Back to README]
ScimUser UsersGetObjectScimV2 (string userId)
Retrieve an existing User
using System.Collections.Generic;
using System.Diagnostics;
using eZmaxApi.Api;
using eZmaxApi.Client;
using eZmaxApi.Model;
namespace Example
{
public class UsersGetObjectScimV2Example
{
public static void Main()
{
Configuration config = new Configuration();
config.BasePath = "https://prod.api.appcluster01.ca-central-1.ezmax.com/rest";
// Configure Bearer token for authorization: Bearer
config.AccessToken = "YOUR_BEARER_TOKEN";
var apiInstance = new ScimUsersApi(config);
var userId = "userId_example"; // string |
try
{
// Retrieve an existing User
ScimUser result = apiInstance.UsersGetObjectScimV2(userId);
Debug.WriteLine(result);
}
catch (ApiException e)
{
Debug.Print("Exception when calling ScimUsersApi.UsersGetObjectScimV2: " + e.Message);
Debug.Print("Status Code: " + e.ErrorCode);
Debug.Print(e.StackTrace);
}
}
}
}
This returns an ApiResponse object which contains the response data, status code and headers.
try
{
// Retrieve an existing User
ApiResponse<ScimUser> response = apiInstance.UsersGetObjectScimV2WithHttpInfo(userId);
Debug.Write("Status Code: " + response.StatusCode);
Debug.Write("Response Headers: " + response.Headers);
Debug.Write("Response Body: " + response.Data);
}
catch (ApiException e)
{
Debug.Print("Exception when calling ScimUsersApi.UsersGetObjectScimV2WithHttpInfo: " + e.Message);
Debug.Print("Status Code: " + e.ErrorCode);
Debug.Print(e.StackTrace);
}
Name | Type | Description | Notes |
---|---|---|---|
userId | string |
- Content-Type: Not defined
- Accept: application/json
Status code | Description | Response headers |
---|---|---|
200 | OK | - |
[Back to top] [Back to API list] [Back to Model list] [Back to README]