import 'package:openapi/api.dart';
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)
Create a new User
import 'package:openapi/api.dart';
// TODO Configure HTTP Bearer authorization: Bearer
// Case 1. Use String Token
//defaultApiClient.getAuthentication<HttpBearerAuth>('Bearer').setAccessToken('YOUR_ACCESS_TOKEN');
// Case 2. Use Function which generate token.
// String yourTokenGeneratorFunction() { ... }
//defaultApiClient.getAuthentication<HttpBearerAuth>('Bearer').setAccessToken(yourTokenGeneratorFunction);
final api_instance = ScimUsersApi();
final scimUser = ScimUser(); // ScimUser |
try {
final result = api_instance.usersCreateObjectScimV2(scimUser);
print(result);
} catch (e) {
print('Exception when calling ScimUsersApi->usersCreateObjectScimV2: $e\n');
}
Name | Type | Description | Notes |
---|---|---|---|
scimUser | ScimUser |
- Content-Type: application/json
- Accept: application/json
[Back to top] [Back to API list] [Back to Model list] [Back to README]
usersDeleteObjectScimV2(userId)
Delete an existing User
import 'package:openapi/api.dart';
// TODO Configure HTTP Bearer authorization: Bearer
// Case 1. Use String Token
//defaultApiClient.getAuthentication<HttpBearerAuth>('Bearer').setAccessToken('YOUR_ACCESS_TOKEN');
// Case 2. Use Function which generate token.
// String yourTokenGeneratorFunction() { ... }
//defaultApiClient.getAuthentication<HttpBearerAuth>('Bearer').setAccessToken(yourTokenGeneratorFunction);
final api_instance = ScimUsersApi();
final userId = userId_example; // String |
try {
api_instance.usersDeleteObjectScimV2(userId);
} catch (e) {
print('Exception when calling ScimUsersApi->usersDeleteObjectScimV2: $e\n');
}
Name | Type | Description | Notes |
---|---|---|---|
userId | String |
void (empty response body)
- Content-Type: Not defined
- Accept: Not defined
[Back to top] [Back to API list] [Back to Model list] [Back to README]
ScimUser usersEditObjectScimV2(userId, scimUser)
Edit an existing User
import 'package:openapi/api.dart';
// TODO Configure HTTP Bearer authorization: Bearer
// Case 1. Use String Token
//defaultApiClient.getAuthentication<HttpBearerAuth>('Bearer').setAccessToken('YOUR_ACCESS_TOKEN');
// Case 2. Use Function which generate token.
// String yourTokenGeneratorFunction() { ... }
//defaultApiClient.getAuthentication<HttpBearerAuth>('Bearer').setAccessToken(yourTokenGeneratorFunction);
final api_instance = ScimUsersApi();
final userId = userId_example; // String |
final scimUser = ScimUser(); // ScimUser |
try {
final result = api_instance.usersEditObjectScimV2(userId, scimUser);
print(result);
} catch (e) {
print('Exception when calling ScimUsersApi->usersEditObjectScimV2: $e\n');
}
Name | Type | Description | Notes |
---|---|---|---|
userId | String | ||
scimUser | ScimUser |
- Content-Type: application/json
- Accept: application/json
[Back to top] [Back to API list] [Back to Model list] [Back to README]
ScimUserList usersGetListScimV2(filter)
Retrieve User list
import 'package:openapi/api.dart';
// TODO Configure HTTP Bearer authorization: Bearer
// Case 1. Use String Token
//defaultApiClient.getAuthentication<HttpBearerAuth>('Bearer').setAccessToken('YOUR_ACCESS_TOKEN');
// Case 2. Use Function which generate token.
// String yourTokenGeneratorFunction() { ... }
//defaultApiClient.getAuthentication<HttpBearerAuth>('Bearer').setAccessToken(yourTokenGeneratorFunction);
final api_instance = ScimUsersApi();
final filter = filter_example; // String | Filter expression for searching users
try {
final result = api_instance.usersGetListScimV2(filter);
print(result);
} catch (e) {
print('Exception when calling ScimUsersApi->usersGetListScimV2: $e\n');
}
Name | Type | Description | Notes |
---|---|---|---|
filter | String | Filter expression for searching users | [optional] |
- Content-Type: Not defined
- Accept: application/json
[Back to top] [Back to API list] [Back to Model list] [Back to README]
ScimUser usersGetObjectScimV2(userId)
Retrieve an existing User
import 'package:openapi/api.dart';
// TODO Configure HTTP Bearer authorization: Bearer
// Case 1. Use String Token
//defaultApiClient.getAuthentication<HttpBearerAuth>('Bearer').setAccessToken('YOUR_ACCESS_TOKEN');
// Case 2. Use Function which generate token.
// String yourTokenGeneratorFunction() { ... }
//defaultApiClient.getAuthentication<HttpBearerAuth>('Bearer').setAccessToken(yourTokenGeneratorFunction);
final api_instance = ScimUsersApi();
final userId = userId_example; // String |
try {
final result = api_instance.usersGetObjectScimV2(userId);
print(result);
} catch (e) {
print('Exception when calling ScimUsersApi->usersGetObjectScimV2: $e\n');
}
Name | Type | Description | Notes |
---|---|---|---|
userId | String |
- Content-Type: Not defined
- Accept: application/json
[Back to top] [Back to API list] [Back to Model list] [Back to README]