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 EZmaxApiDefinitionFull from 'e_zmax_api_definition__full';
let defaultClient = EZmaxApiDefinitionFull.ApiClient.instance;
// Configure Bearer access token for authorization: Bearer
let Bearer = defaultClient.authentications['Bearer'];
Bearer.accessToken = "YOUR ACCESS TOKEN"
let apiInstance = new EZmaxApiDefinitionFull.ScimUsersApi();
let ScimUser = new EZmaxApiDefinitionFull.ScimUser(); // ScimUser |
apiInstance.usersCreateObjectScimV2(ScimUser, (error, data, response) => {
if (error) {
console.error(error);
} else {
console.log('API called successfully. Returned data: ' + data);
}
});
Name | Type | Description | Notes |
---|---|---|---|
ScimUser | ScimUser |
- Content-Type: application/json
- Accept: application/json
usersDeleteObjectScimV2(userId)
Delete an existing User
import EZmaxApiDefinitionFull from 'e_zmax_api_definition__full';
let defaultClient = EZmaxApiDefinitionFull.ApiClient.instance;
// Configure Bearer access token for authorization: Bearer
let Bearer = defaultClient.authentications['Bearer'];
Bearer.accessToken = "YOUR ACCESS TOKEN"
let apiInstance = new EZmaxApiDefinitionFull.ScimUsersApi();
let userId = "userId_example"; // String |
apiInstance.usersDeleteObjectScimV2(userId, (error, data, response) => {
if (error) {
console.error(error);
} else {
console.log('API called successfully.');
}
});
Name | Type | Description | Notes |
---|---|---|---|
userId | String |
null (empty response body)
- Content-Type: Not defined
- Accept: Not defined
ScimUser usersEditObjectScimV2(userId, ScimUser)
Edit an existing User
import EZmaxApiDefinitionFull from 'e_zmax_api_definition__full';
let defaultClient = EZmaxApiDefinitionFull.ApiClient.instance;
// Configure Bearer access token for authorization: Bearer
let Bearer = defaultClient.authentications['Bearer'];
Bearer.accessToken = "YOUR ACCESS TOKEN"
let apiInstance = new EZmaxApiDefinitionFull.ScimUsersApi();
let userId = "userId_example"; // String |
let ScimUser = new EZmaxApiDefinitionFull.ScimUser(); // ScimUser |
apiInstance.usersEditObjectScimV2(userId, ScimUser, (error, data, response) => {
if (error) {
console.error(error);
} else {
console.log('API called successfully. Returned data: ' + data);
}
});
Name | Type | Description | Notes |
---|---|---|---|
userId | String | ||
ScimUser | ScimUser |
- Content-Type: application/json
- Accept: application/json
ScimUserList usersGetListScimV2(opts)
Retrieve User list
import EZmaxApiDefinitionFull from 'e_zmax_api_definition__full';
let defaultClient = EZmaxApiDefinitionFull.ApiClient.instance;
// Configure Bearer access token for authorization: Bearer
let Bearer = defaultClient.authentications['Bearer'];
Bearer.accessToken = "YOUR ACCESS TOKEN"
let apiInstance = new EZmaxApiDefinitionFull.ScimUsersApi();
let opts = {
'filter': "filter_example" // String | Filter expression for searching users
};
apiInstance.usersGetListScimV2(opts, (error, data, response) => {
if (error) {
console.error(error);
} else {
console.log('API called successfully. Returned data: ' + data);
}
});
Name | Type | Description | Notes |
---|---|---|---|
filter | String | Filter expression for searching users | [optional] |
- Content-Type: Not defined
- Accept: application/json
ScimUser usersGetObjectScimV2(userId)
Retrieve an existing User
import EZmaxApiDefinitionFull from 'e_zmax_api_definition__full';
let defaultClient = EZmaxApiDefinitionFull.ApiClient.instance;
// Configure Bearer access token for authorization: Bearer
let Bearer = defaultClient.authentications['Bearer'];
Bearer.accessToken = "YOUR ACCESS TOKEN"
let apiInstance = new EZmaxApiDefinitionFull.ScimUsersApi();
let userId = "userId_example"; // String |
apiInstance.usersGetObjectScimV2(userId, (error, data, response) => {
if (error) {
console.error(error);
} else {
console.log('API called successfully. Returned data: ' + data);
}
});
Name | Type | Description | Notes |
---|---|---|---|
userId | String |
- Content-Type: Not defined
- Accept: application/json