許可されたコラボレーションドメインを取得

get
https://api.box.com/2.0
/collaboration_whitelist_entries/:collaboration_whitelist_entry_id

現在の会社内でコラボレーションを作成しても安全であると見なされているドメインを返します。

リクエスト

bearer [ACCESS_TOKEN]
application/json

パスパラメータ

stringパス内必須
213123

リスト内のエントリのID。

レスポンス

許可されたドメインのリストにエントリを返します。

予期しないクライアントエラー。

get
許可されたコラボレーションドメインを取得
このドキュメント内で一部のAPIを試せるようになりました。
ログイン

リクエストの例

cURL
curl -i -X GET "https://api.box.com/2.0/collaboration_whitelist_entries/213123" \
     -H "authorization: Bearer <ACCESS_TOKEN>"
.NET
string entryID = "11111";
BoxCollaborationWhitelistEntry entry = await client.CollaborationWhitelistManager.GetCollaborationWhitelistEntryAsync(
    entryID
);
Node
client.collaborationAllowlist.getAllowlistedDomain('12345', {}, callback);

レスポンスの例

{
  "id": "11446498",
  "type": "collaboration_whitelist_entry",
  "created_at": "2012-12-12T10:53:43-08:00",
  "direction": "both",
  "domain": "example.com",
  "enterprise": {
    "id": "11446498",
    "type": "enterprise",
    "name": "Acme Inc."
  }
}