Provides a paginated list of sub teams that belong to a given team.
successful operation
failed_operation
<?php
namespace Dropbox\SignSandbox;
require_once __DIR__ . '/../vendor/autoload.php';
use SplFileObject;
use Dropbox;
$config = Dropbox\Sign\Configuration::getDefaultConfiguration();
$config->setUsername("YOUR_API_KEY");
// $config->setAccessToken("YOUR_ACCESS_TOKEN");
try {
$response = (new Dropbox\Sign\Api\TeamApi(config: $config))->teamSubTeams(
team_id: "4fea99bfcf2b26bfccf6cea3e127fb8bb74d8d9c",
page: 1,
page_size: 20,
);
print_r($response);
} catch (Dropbox\Sign\ApiException $e) {
echo "Exception when calling TeamApi#teamSubTeams: {$e->getMessage()}";
}
{- "list_info": {
- "page": 1,
- "num_pages": 1,
- "num_results": 4,
- "page_size": 20
}, - "sub_teams": [
- {
- "team_id": "29b09ebad6013a2b56cda80ccdc25847158e06a8",
- "name": "Team A"
}, - {
- "team_id": "d6218f881ec36ae628507fa60c8099934730b7ca",
- "name": "Team B"
}
]
}