Creates a new entry in the list of allowed domains to allow collaboration for.
"inbound"
The direction in which to allow collaborations.
Value is one of inbound
,outbound
,both
"example.com"
The domain to add to the list of allowed domains.
Returns a new entry on the list of allowed domains.
An unexpected client error.
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."
}
}