List Team Members

get/team/members/{team_id}

Provides a paginated list of members (and their roles) that belong to a given team.

Securityapi_key or oauth2
Request
path Parameters
team_id
required
string

The id of the team that a member list is being requested from.

Example: 4fea99bfcf2b26bfccf6cea3e127fb8bb74d8d9c
query Parameters
page
integer
Default: 1

Which page number of the team member list to return. Defaults to 1.

page_size
integer [ 1 .. 100 ]
Default: 20

Number of objects to be returned per page. Must be between 1 and 100. Default is 20.

Responses
200

successful operation

4XX

failed_operation

Request samples
<?php

require_once __DIR__ . "/vendor/autoload.php";

$config = Dropbox\Sign\Configuration::getDefaultConfiguration();

// Configure HTTP basic authorization: api_key
$config->setUsername("YOUR_API_KEY");

// or, configure Bearer (JWT) authorization: oauth2
// $config->setAccessToken("YOUR_ACCESS_TOKEN");

$teamApi = new Dropbox\Sign\Api\TeamApi($config);

$teamId = "4fea99bfcf2b26bfccf6cea3e127fb8bb74d8d9c";

try {
    $result = $teamApi->teamMembers($teamId);
    print_r($result);
} catch (Dropbox\Sign\ApiException $e) {
    $error = $e->getResponseObject();
    echo "Exception when calling Dropbox Sign API: "
        . print_r($error->getError());
}
Response samples
application/json
{
  • "list_info": {
    },
  • "members": [
    ]
}