コラボレーションが許可されているドメインのリストに新しいエントリを作成します。
"inbound"
コラボレーションを許可する方向。
次の値のいずれか1つ: inbound
,outbound
,both
"example.com"
許可されたドメインのリストに追加するドメイン。
許可されたドメインのリストに新しいエントリを返します。
予期しないクライアントエラー。
curl -i -X POST "https://api.box.com/2.0/collaboration_whitelist_entries" \
-H "authorization: Bearer <ACCESS_TOKEN>" \
-H "content-type: application/json" \
-d '{
"domain": "example.com",
"direction": "inboud"
}'
{
"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."
}
}