Provides information about a 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))->teamInfo(
team_id: "4fea99bfcf2b26bfccf6cea3e127fb8bb74d8d9c",
);
print_r($response);
} catch (Dropbox\Sign\ApiException $e) {
echo "Exception when calling TeamApi#teamInfo: {$e->getMessage()}";
}
{- "team": {
- "team_id": "4fea99bfcf2b26bfccf6cea3e127fb8bb74d8d9c",
- "name": "Team A",
- "num_sub_teams": 4,
- "num_members": 0,
- "parent_team": {
- "team_id": "89dc8eea8361bf7dc760b09004856a9d4eae8faa",
- "name": "Root Team"
}
}
}