All URIs are relative to https://api.yousign.com
Method | HTTP request | Description |
---|---|---|
userGroupsGet | GET /user_groups | Get User Group list |
userGroupsIdGet | GET /user_groups/{id} | Find a User Group by ID |
\YouSign\Client\Model\UserGroup[] userGroupsGet($authorization)
Get User Group list
<?php
require_once(__DIR__ . '/vendor/autoload.php');
$apiInstance = new YouSign\Client\Api\UserGroupApi(
// 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()
);
$authorization = "\"Bearer {{access_token}}\""; // string | Authentication credentials for HTTP authentication
try {
$result = $apiInstance->userGroupsGet($authorization);
print_r($result);
} catch (Exception $e) {
echo 'Exception when calling UserGroupApi->userGroupsGet: ', $e->getMessage(), PHP_EOL;
}
?>
Name | Type | Description | Notes |
---|---|---|---|
authorization | string | Authentication credentials for HTTP authentication |
\YouSign\Client\Model\UserGroup[]
No authorization required
- Content-Type: application/json
- Accept: application/json
[Back to top] [Back to API list] [Back to Model list] [Back to README]
\YouSign\Client\Model\UserGroup userGroupsIdGet($id, $authorization)
Find a User Group by ID
<?php
require_once(__DIR__ . '/vendor/autoload.php');
$apiInstance = new YouSign\Client\Api\UserGroupApi(
// 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()
);
$id = "id_example"; // string |
$authorization = "\"Bearer {{access_token}}\""; // string | Authentication credentials for HTTP authentication
try {
$result = $apiInstance->userGroupsIdGet($id, $authorization);
print_r($result);
} catch (Exception $e) {
echo 'Exception when calling UserGroupApi->userGroupsIdGet: ', $e->getMessage(), PHP_EOL;
}
?>
Name | Type | Description | Notes |
---|---|---|---|
id | string | ||
authorization | string | Authentication credentials for HTTP authentication |
\YouSign\Client\Model\UserGroup
No authorization required
- Content-Type: application/json
- Accept: application/json
[Back to top] [Back to API list] [Back to Model list] [Back to README]