日本時間5月16日のContent Cloud Summitで、カスタムアプリにBox AI APIを活用する方法を紹介します。

詳細を表示

コラボレーションドメインの制限から除外するユーザーを取得

get
https://api.box.com/2.0
/collaboration_whitelist_exempt_targets/:collaboration_whitelist_exempt_target_id

コラボレーションドメインの制限から除外されているユーザーを返します。

リクエスト

bearer [ACCESS_TOKEN]
application/json

パスパラメータ

984923

リストに対する除外のID。

レスポンス

コラボレーションドメインのリストから除外されたユーザーを返します。

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

get
コラボレーションドメインの制限から除外するユーザーを取得
このドキュメント内で一部のAPIを試せるようになりました。
ログイン

リクエストの例

cURL
curl -i -X GET "https://api.box.com/2.0/collaboration_whitelist_exempt_targets/984923" \
     -H "authorization: Bearer <ACCESS_TOKEN>"
.NET
string exemptionID = "33333";
BoxCollaborationWhitelistTargetEntry exemptUser = await client.CollaborationWhitelistManager
    .GetCollaborationWhitelistExemptUserAsync(exemptionID);
Node
client.collaborationAllowlist.getExemption(`12345`, callback);

レスポンスの例

{
  "id": "11446498",
  "type": "collaboration_whitelist_exempt_target",
  "created_at": "2012-12-12T10:53:43-08:00",
  "enterprise": {
    "id": "11446498",
    "type": "enterprise",
    "name": "Acme Inc."
  },
  "modified_at": "2012-12-12T10:53:43-08:00",
  "user": {
    "id": "11446498",
    "type": "user",
    "login": "ceo@example.com",
    "name": "Aaron Levie"
  }
}