All URIs are relative to https://prod.api.appcluster01.ca-central-1.ezmax.com/rest, except if the operation defines another base path.
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 |
usersCreateObjectScimV2($scimUser): \eZmaxAPI\Model\ScimUser
Create a new User
<?php
require_once(__DIR__ . '/vendor/autoload.php');
// Configure Bearer authorization: Bearer
$config = eZmaxAPI\Configuration::getDefaultConfiguration()->setAccessToken('YOUR_ACCESS_TOKEN');
$apiInstance = new eZmaxAPI\Api\ScimUsersApi(
// If you want use custom http client, pass your client which implements `GuzzleHttp\ClientInterface`.
// This is optional, `GuzzleHttp\Client` will be used as default.
new GuzzleHttp\Client(),
$config
);
$scimUser = new \eZmaxAPI\Model\ScimUser(); // \eZmaxAPI\Model\ScimUser
try {
$result = $apiInstance->usersCreateObjectScimV2($scimUser);
print_r($result);
} catch (Exception $e) {
echo 'Exception when calling ScimUsersApi->usersCreateObjectScimV2: ', $e->getMessage(), PHP_EOL;
}
Name | Type | Description | Notes |
---|---|---|---|
scimUser | \eZmaxAPI\Model\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
<?php
require_once(__DIR__ . '/vendor/autoload.php');
// Configure Bearer authorization: Bearer
$config = eZmaxAPI\Configuration::getDefaultConfiguration()->setAccessToken('YOUR_ACCESS_TOKEN');
$apiInstance = new eZmaxAPI\Api\ScimUsersApi(
// If you want use custom http client, pass your client which implements `GuzzleHttp\ClientInterface`.
// This is optional, `GuzzleHttp\Client` will be used as default.
new GuzzleHttp\Client(),
$config
);
$userId = 'userId_example'; // string
try {
$apiInstance->usersDeleteObjectScimV2($userId);
} catch (Exception $e) {
echo 'Exception when calling ScimUsersApi->usersDeleteObjectScimV2: ', $e->getMessage(), PHP_EOL;
}
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]
usersEditObjectScimV2($userId, $scimUser): \eZmaxAPI\Model\ScimUser
Edit an existing User
<?php
require_once(__DIR__ . '/vendor/autoload.php');
// Configure Bearer authorization: Bearer
$config = eZmaxAPI\Configuration::getDefaultConfiguration()->setAccessToken('YOUR_ACCESS_TOKEN');
$apiInstance = new eZmaxAPI\Api\ScimUsersApi(
// If you want use custom http client, pass your client which implements `GuzzleHttp\ClientInterface`.
// This is optional, `GuzzleHttp\Client` will be used as default.
new GuzzleHttp\Client(),
$config
);
$userId = 'userId_example'; // string
$scimUser = new \eZmaxAPI\Model\ScimUser(); // \eZmaxAPI\Model\ScimUser
try {
$result = $apiInstance->usersEditObjectScimV2($userId, $scimUser);
print_r($result);
} catch (Exception $e) {
echo 'Exception when calling ScimUsersApi->usersEditObjectScimV2: ', $e->getMessage(), PHP_EOL;
}
Name | Type | Description | Notes |
---|---|---|---|
userId | string | ||
scimUser | \eZmaxAPI\Model\ScimUser |
- Content-Type:
application/json
- Accept:
application/json
[Back to top] [Back to API list] [Back to Model list] [Back to README]
usersGetListScimV2($filter): \eZmaxAPI\Model\ScimUserList
Retrieve User list
<?php
require_once(__DIR__ . '/vendor/autoload.php');
// Configure Bearer authorization: Bearer
$config = eZmaxAPI\Configuration::getDefaultConfiguration()->setAccessToken('YOUR_ACCESS_TOKEN');
$apiInstance = new eZmaxAPI\Api\ScimUsersApi(
// If you want use custom http client, pass your client which implements `GuzzleHttp\ClientInterface`.
// This is optional, `GuzzleHttp\Client` will be used as default.
new GuzzleHttp\Client(),
$config
);
$filter = 'filter_example'; // string | Filter expression for searching users
try {
$result = $apiInstance->usersGetListScimV2($filter);
print_r($result);
} catch (Exception $e) {
echo 'Exception when calling ScimUsersApi->usersGetListScimV2: ', $e->getMessage(), PHP_EOL;
}
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]
usersGetObjectScimV2($userId): \eZmaxAPI\Model\ScimUser
Retrieve an existing User
<?php
require_once(__DIR__ . '/vendor/autoload.php');
// Configure Bearer authorization: Bearer
$config = eZmaxAPI\Configuration::getDefaultConfiguration()->setAccessToken('YOUR_ACCESS_TOKEN');
$apiInstance = new eZmaxAPI\Api\ScimUsersApi(
// If you want use custom http client, pass your client which implements `GuzzleHttp\ClientInterface`.
// This is optional, `GuzzleHttp\Client` will be used as default.
new GuzzleHttp\Client(),
$config
);
$userId = 'userId_example'; // string
try {
$result = $apiInstance->usersGetObjectScimV2($userId);
print_r($result);
} catch (Exception $e) {
echo 'Exception when calling ScimUsersApi->usersGetObjectScimV2: ', $e->getMessage(), PHP_EOL;
}
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]