All URIs are relative to https://cloud.seatable.io, except if the operation defines another base path.
| Method | HTTP request | Description |
|---|---|---|
| addTeam() | POST /api/v2.1/admin/organizations/ | Add Team |
| addTeamUser() | POST /api/v2.1/admin/organizations/{org_id}/users/ | Add Team User |
| deleteTeam() | DELETE /api/v2.1/admin/organizations/{org_id}/ | Delete Team |
| deleteTeamGroup() | DELETE /api/v2.1/admin/organizations/{org_id}/groups/{group_id}/ | Delete Group |
| deleteTeamUser() | DELETE /api/v2.1/admin/organizations/{org_id}/users/{user_id}/ | Delete Team User |
| getOrganizationNames() | GET /api/v2.1/admin/organizations-basic-info/ | Get Organization Names |
| listTeamBases() | GET /api/v2.1/admin/organizations/{org_id}/dtables/ | List Team Bases |
| listTeamGroups() | GET /api/v2.1/admin/organizations/{org_id}/groups/ | List Team Groups |
| listTeamUsers() | GET /api/v2.1/admin/organizations/{org_id}/users/ | List Team Users |
| listTeams() | GET /api/v2.1/admin/organizations/ | List Teams |
| searchTeam() | GET /api/v2.1/admin/organizations/{org_id}/ | Search Team |
| updateTeam() | PUT /api/v2.1/admin/organizations/{org_id}/ | Update Team |
| updateTeamUser() | PUT /api/v2.1/admin/organizations/{org_id}/users/{user_id}/ | Update Team User |
addTeam($add_team_request): \SeaTable\Client\SysAdmin\AddTeam200ResponseAdd Team
Add a team (organization) with its name and admin credentials. In the request body, define the new team admin's admin_email, admin_name and password. SeaTable does not automatically create a workspace for a newly added user: the with_workspace parameter is false by default. If you would like your new user to have a workspace when they are added (so that they can start operating workspaces and bases right away with API requests), make sure you set true for this parameter. Otherwise, their workspace will only be created when they login to the SeaTable web interface for the first time.
<?php
require_once(__DIR__ . '/vendor/autoload.php');
// Configure Bearer authorization: AccountTokenAuth (use the right token for your request)
$config = SeaTable\Client\Configuration::getDefaultConfiguration()->setAccessToken('YOUR_TOKEN');
$apiInstance = new SeaTable\Client\SysAdmin\TeamsApi(
new GuzzleHttp\Client(),
$config
);
$add_team_request = new \SeaTable\Client\SysAdmin\AddTeamRequest(); // \SeaTable\Client\SysAdmin\AddTeamRequest
try {
$result = $apiInstance->addTeam($add_team_request);
print_r($result);
} catch (Exception $e) {
echo 'Exception when calling TeamsApi->addTeam: ', $e->getMessage(), PHP_EOL;
}| Name | Type | Description | Notes |
|---|---|---|---|
| add_team_request | \SeaTable\Client\SysAdmin\AddTeamRequest | [optional] |
\SeaTable\Client\SysAdmin\AddTeam200Response
AccountTokenAuth
addTeamUser($org_id, $email, $password, $name, $with_workspace): \SeaTable\Client\SysAdmin\AddTeamUser200ResponseAdd Team User
Add a new team user with desired details. In the request body: \* email is the contact email address of your new user; \* password could be an initial login password you asign to them; \* name is the display name of your new user; \* with_workspace should be set to true if you want your new user to acquire a workspace_id immediately after adding them. The default value is false, which means they won't have a workspace_id until they login for the first time.
<?php
require_once(__DIR__ . '/vendor/autoload.php');
// Configure Bearer authorization: AccountTokenAuth (use the right token for your request)
$config = SeaTable\Client\Configuration::getDefaultConfiguration()->setAccessToken('YOUR_TOKEN');
$apiInstance = new SeaTable\Client\SysAdmin\TeamsApi(
new GuzzleHttp\Client(),
$config
);
$org_id = 1; // int | The id of your team/organization. Get it from [Get Team](/reference/getteaminfo). Contact your team admin, if you are not the admin.
$email = 'email_example'; // string | Login email of the user.
$password = 'password_example'; // string | Login password of the user.
$name = 'name_example'; // string | Full name of the user.
$with_workspace = True; // bool | If a workspace should be automatically created for the user. Optional. `false` by default.
try {
$result = $apiInstance->addTeamUser($org_id, $email, $password, $name, $with_workspace);
print_r($result);
} catch (Exception $e) {
echo 'Exception when calling TeamsApi->addTeamUser: ', $e->getMessage(), PHP_EOL;
}| Name | Type | Description | Notes |
|---|---|---|---|
| org_id | int | The id of your team/organization. Get it from Get Team. Contact your team admin, if you are not the admin. | |
| string | Login email of the user. | ||
| password | string | Login password of the user. | |
| name | string | Full name of the user. | [optional] |
| with_workspace | bool | If a workspace should be automatically created for the user. Optional. `false` by default. | [optional] |
\SeaTable\Client\SysAdmin\AddTeamUser200Response
AccountTokenAuth
deleteTeam($org_id): objectDelete Team
Delete a team (organization) with its ID. This will eliminate the team! However, this won't delete the team users - but all its members will become team-less users in the system.
<?php
require_once(__DIR__ . '/vendor/autoload.php');
// Configure Bearer authorization: AccountTokenAuth (use the right token for your request)
$config = SeaTable\Client\Configuration::getDefaultConfiguration()->setAccessToken('YOUR_TOKEN');
$apiInstance = new SeaTable\Client\SysAdmin\TeamsApi(
new GuzzleHttp\Client(),
$config
);
$org_id = 1; // int | The id of your team/organization. Get it from [Get Team](/reference/getteaminfo). Contact your team admin, if you are not the admin.
try {
$result = $apiInstance->deleteTeam($org_id);
print_r($result);
} catch (Exception $e) {
echo 'Exception when calling TeamsApi->deleteTeam: ', $e->getMessage(), PHP_EOL;
}| Name | Type | Description | Notes |
|---|---|---|---|
| org_id | int | The id of your team/organization. Get it from Get Team. Contact your team admin, if you are not the admin. |
object
AccountTokenAuth
deleteTeamGroup($org_id, $group_id): objectDelete Group
Delete a group with its group_id. As system administrator, you can delete any group in the system by their ID, no matter in which team they are.
<?php
require_once(__DIR__ . '/vendor/autoload.php');
// Configure Bearer authorization: AccountTokenAuth (use the right token for your request)
$config = SeaTable\Client\Configuration::getDefaultConfiguration()->setAccessToken('YOUR_TOKEN');
$apiInstance = new SeaTable\Client\SysAdmin\TeamsApi(
new GuzzleHttp\Client(),
$config
);
$org_id = 1; // int | The id of your team/organization. Get it from [Get Team](/reference/getteaminfo). Contact your team admin, if you are not the admin.
$group_id = 48; // int | The ID of the group.
try {
$result = $apiInstance->deleteTeamGroup($org_id, $group_id);
print_r($result);
} catch (Exception $e) {
echo 'Exception when calling TeamsApi->deleteTeamGroup: ', $e->getMessage(), PHP_EOL;
}| Name | Type | Description | Notes |
|---|---|---|---|
| org_id | int | The id of your team/organization. Get it from Get Team. Contact your team admin, if you are not the admin. | |
| group_id | int | The ID of the group. |
object
AccountTokenAuth
deleteTeamUser($org_id, $user_id): objectDelete Team User
Delete a team user with this request.
<?php
require_once(__DIR__ . '/vendor/autoload.php');
// Configure Bearer authorization: AccountTokenAuth (use the right token for your request)
$config = SeaTable\Client\Configuration::getDefaultConfiguration()->setAccessToken('YOUR_TOKEN');
$apiInstance = new SeaTable\Client\SysAdmin\TeamsApi(
new GuzzleHttp\Client(),
$config
);
$org_id = 1; // int | The id of your team/organization. Get it from [Get Team](/reference/getteaminfo). Contact your team admin, if you are not the admin.
$user_id = 2abc456def789abc123def456abc789a@auth.local; // string | The unique user id in the form ...@auth.local. This is not the email address of the user.
try {
$result = $apiInstance->deleteTeamUser($org_id, $user_id);
print_r($result);
} catch (Exception $e) {
echo 'Exception when calling TeamsApi->deleteTeamUser: ', $e->getMessage(), PHP_EOL;
}| Name | Type | Description | Notes |
|---|---|---|---|
| org_id | int | The id of your team/organization. Get it from Get Team. Contact your team admin, if you are not the admin. | |
| user_id | string | The unique user id in the form ...@auth.local. This is not the email address of the user. |
object
AccountTokenAuth
getOrganizationNames($org_ids): objectGet Organization Names
Retrieve the names of one or more organizations by their IDs.
<?php
require_once(__DIR__ . '/vendor/autoload.php');
// Configure Bearer authorization: AccountTokenAuth (use the right token for your request)
$config = SeaTable\Client\Configuration::getDefaultConfiguration()->setAccessToken('YOUR_TOKEN');
$apiInstance = new SeaTable\Client\SysAdmin\TeamsApi(
new GuzzleHttp\Client(),
$config
);
$org_ids = 2; // string[] | Comma-separated list of organization IDs to look up.
try {
$result = $apiInstance->getOrganizationNames($org_ids);
print_r($result);
} catch (Exception $e) {
echo 'Exception when calling TeamsApi->getOrganizationNames: ', $e->getMessage(), PHP_EOL;
}| Name | Type | Description | Notes |
|---|---|---|---|
| org_ids | string[] | Comma-separated list of organization IDs to look up. | [optional] |
object
AccountTokenAuth
listTeamBases($org_id, $page, $per_page): objectList Team Bases
List all the bases of a team. As system administrator, you can see the information of these bases, but you do not have access to the data inside of them.
<?php
require_once(__DIR__ . '/vendor/autoload.php');
// Configure Bearer authorization: AccountTokenAuth (use the right token for your request)
$config = SeaTable\Client\Configuration::getDefaultConfiguration()->setAccessToken('YOUR_TOKEN');
$apiInstance = new SeaTable\Client\SysAdmin\TeamsApi(
new GuzzleHttp\Client(),
$config
);
$org_id = 1; // int | The id of your team/organization. Get it from [Get Team](/reference/getteaminfo). Contact your team admin, if you are not the admin.
$page = 1; // int | The page number you want to start showing the entries. If no value is provided, 1 will be used.
$per_page = 25; // int | The number of results that should be returned. If no value is provided, 25 results will be returned.
try {
$result = $apiInstance->listTeamBases($org_id, $page, $per_page);
print_r($result);
} catch (Exception $e) {
echo 'Exception when calling TeamsApi->listTeamBases: ', $e->getMessage(), PHP_EOL;
}| Name | Type | Description | Notes |
|---|---|---|---|
| org_id | int | The id of your team/organization. Get it from Get Team. Contact your team admin, if you are not the admin. | |
| page | int | The page number you want to start showing the entries. If no value is provided, 1 will be used. | [optional] |
| per_page | int | The number of results that should be returned. If no value is provided, 25 results will be returned. | [optional] |
object
AccountTokenAuth
listTeamGroups($org_id): objectList Team Groups
List all the groups in a team with its org_id.
<?php
require_once(__DIR__ . '/vendor/autoload.php');
// Configure Bearer authorization: AccountTokenAuth (use the right token for your request)
$config = SeaTable\Client\Configuration::getDefaultConfiguration()->setAccessToken('YOUR_TOKEN');
$apiInstance = new SeaTable\Client\SysAdmin\TeamsApi(
new GuzzleHttp\Client(),
$config
);
$org_id = 1; // int | The id of your team/organization. Get it from [Get Team](/reference/getteaminfo). Contact your team admin, if you are not the admin.
try {
$result = $apiInstance->listTeamGroups($org_id);
print_r($result);
} catch (Exception $e) {
echo 'Exception when calling TeamsApi->listTeamGroups: ', $e->getMessage(), PHP_EOL;
}| Name | Type | Description | Notes |
|---|---|---|---|
| org_id | int | The id of your team/organization. Get it from Get Team. Contact your team admin, if you are not the admin. |
object
AccountTokenAuth
listTeamUsers($org_id): objectList Team Users
List a team's members with their detailed information. The is_org_admin value in the response indicates if this member is the administrator of the team.
<?php
require_once(__DIR__ . '/vendor/autoload.php');
// Configure Bearer authorization: AccountTokenAuth (use the right token for your request)
$config = SeaTable\Client\Configuration::getDefaultConfiguration()->setAccessToken('YOUR_TOKEN');
$apiInstance = new SeaTable\Client\SysAdmin\TeamsApi(
new GuzzleHttp\Client(),
$config
);
$org_id = 1; // int | The id of your team/organization. Get it from [Get Team](/reference/getteaminfo). Contact your team admin, if you are not the admin.
try {
$result = $apiInstance->listTeamUsers($org_id);
print_r($result);
} catch (Exception $e) {
echo 'Exception when calling TeamsApi->listTeamUsers: ', $e->getMessage(), PHP_EOL;
}| Name | Type | Description | Notes |
|---|---|---|---|
| org_id | int | The id of your team/organization. Get it from Get Team. Contact your team admin, if you are not the admin. |
object
AccountTokenAuth
listTeams($page, $per_page, $role): objectList Teams
List all the current teams (organizations) in the system. Use the role filter to only return a type of teams. The exact roles depend on your configuration.
<?php
require_once(__DIR__ . '/vendor/autoload.php');
// Configure Bearer authorization: AccountTokenAuth (use the right token for your request)
$config = SeaTable\Client\Configuration::getDefaultConfiguration()->setAccessToken('YOUR_TOKEN');
$apiInstance = new SeaTable\Client\SysAdmin\TeamsApi(
new GuzzleHttp\Client(),
$config
);
$page = 1; // int | The page number you want to start showing the entries. If no value is provided, 1 will be used.
$per_page = 25; // int | The number of results that should be returned. If no value is provided, 25 results will be returned.
$role = default; // string | Optional. When left blank, all role types are returned.
try {
$result = $apiInstance->listTeams($page, $per_page, $role);
print_r($result);
} catch (Exception $e) {
echo 'Exception when calling TeamsApi->listTeams: ', $e->getMessage(), PHP_EOL;
}| Name | Type | Description | Notes |
|---|---|---|---|
| page | int | The page number you want to start showing the entries. If no value is provided, 1 will be used. | [optional] |
| per_page | int | The number of results that should be returned. If no value is provided, 25 results will be returned. | [optional] |
| role | string | Optional. When left blank, all role types are returned. | [optional] |
object
AccountTokenAuth
searchTeam($org_id): \SeaTable\Client\SysAdmin\SearchTeam200ResponseSearch Team
As system administrator, you can query a team by its org_id with this API request.
<?php
require_once(__DIR__ . '/vendor/autoload.php');
// Configure Bearer authorization: AccountTokenAuth (use the right token for your request)
$config = SeaTable\Client\Configuration::getDefaultConfiguration()->setAccessToken('YOUR_TOKEN');
$apiInstance = new SeaTable\Client\SysAdmin\TeamsApi(
new GuzzleHttp\Client(),
$config
);
$org_id = 1; // int | The id of your team/organization. Get it from [Get Team](/reference/getteaminfo). Contact your team admin, if you are not the admin.
try {
$result = $apiInstance->searchTeam($org_id);
print_r($result);
} catch (Exception $e) {
echo 'Exception when calling TeamsApi->searchTeam: ', $e->getMessage(), PHP_EOL;
}| Name | Type | Description | Notes |
|---|---|---|---|
| org_id | int | The id of your team/organization. Get it from Get Team. Contact your team admin, if you are not the admin. |
\SeaTable\Client\SysAdmin\SearchTeam200Response
AccountTokenAuth
updateTeam($org_id, $update_team_request): \SeaTable\Client\SysAdmin\UpdateTeam200ResponseUpdate Team
Change an organization's attributes.
<?php
require_once(__DIR__ . '/vendor/autoload.php');
// Configure Bearer authorization: AccountTokenAuth (use the right token for your request)
$config = SeaTable\Client\Configuration::getDefaultConfiguration()->setAccessToken('YOUR_TOKEN');
$apiInstance = new SeaTable\Client\SysAdmin\TeamsApi(
new GuzzleHttp\Client(),
$config
);
$org_id = 1; // int | The id of your team/organization. Get it from [Get Team](/reference/getteaminfo). Contact your team admin, if you are not the admin.
$update_team_request = new \SeaTable\Client\SysAdmin\UpdateTeamRequest(); // \SeaTable\Client\SysAdmin\UpdateTeamRequest
try {
$result = $apiInstance->updateTeam($org_id, $update_team_request);
print_r($result);
} catch (Exception $e) {
echo 'Exception when calling TeamsApi->updateTeam: ', $e->getMessage(), PHP_EOL;
}| Name | Type | Description | Notes |
|---|---|---|---|
| org_id | int | The id of your team/organization. Get it from Get Team. Contact your team admin, if you are not the admin. | |
| update_team_request | \SeaTable\Client\SysAdmin\UpdateTeamRequest | [optional] |
\SeaTable\Client\SysAdmin\UpdateTeam200Response
AccountTokenAuth
updateTeamUser($org_id, $user_id, $update_team_user_request): \SeaTable\Client\SysAdmin\AddTeamUser200ResponseUpdate Team User
The system admin can authorize a regular team member to have team admin rights.
<?php
require_once(__DIR__ . '/vendor/autoload.php');
// Configure Bearer authorization: AccountTokenAuth (use the right token for your request)
$config = SeaTable\Client\Configuration::getDefaultConfiguration()->setAccessToken('YOUR_TOKEN');
$apiInstance = new SeaTable\Client\SysAdmin\TeamsApi(
new GuzzleHttp\Client(),
$config
);
$org_id = 1; // int | The id of your team/organization. Get it from [Get Team](/reference/getteaminfo). Contact your team admin, if you are not the admin.
$user_id = 2abc456def789abc123def456abc789a@auth.local; // string | The unique user id in the form ...@auth.local. This is not the email address of the user.
$update_team_user_request = new \SeaTable\Client\SysAdmin\UpdateTeamUserRequest(); // \SeaTable\Client\SysAdmin\UpdateTeamUserRequest
try {
$result = $apiInstance->updateTeamUser($org_id, $user_id, $update_team_user_request);
print_r($result);
} catch (Exception $e) {
echo 'Exception when calling TeamsApi->updateTeamUser: ', $e->getMessage(), PHP_EOL;
}| Name | Type | Description | Notes |
|---|---|---|---|
| org_id | int | The id of your team/organization. Get it from Get Team. Contact your team admin, if you are not the admin. | |
| user_id | string | The unique user id in the form ...@auth.local. This is not the email address of the user. | |
| update_team_user_request | \SeaTable\Client\SysAdmin\UpdateTeamUserRequest | [optional] |
\SeaTable\Client\SysAdmin\AddTeamUser200Response
AccountTokenAuth