Creates a collaboration whitelist entry, specifying a domain and direction to allow collaboration for.
inboundThe direction in which to allow collaborations.
Value is one of inbound,outbound,both
example.comThe domain to add to the whitelist.
Returns a new collaboration whitelist entry.
An unexpected client error.
curl -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"
}'BoxCollaborationWhitelistEntry entry = await client.CollaborationWhitelistManager.AddCollaborationWhitelistEntryAsync(
"example.com",
"both"
);BoxCollaborationWhitelist.create(api, "test.com", BoxCollaborationWhitelist.WhitelistDirection.BOTH);from boxsdk.object.collaboration_whitelist import WhitelistDirection
domain = 'example.com'
whitelist_entry = client.collaboration_whitelist().add_domain(domain, direction=WhitelistDirection.INBOUND)client.collaborationWhitelist.addDomain('test.com', client.collaborationWhitelist.directions.INBOUND, callback);