Creates a collaboration whitelist entry exemption, specifying a user that is exempted from the whitelist.
The user to exempt.
23522323
The ID of the user to exempt.
Returns a new collaboration whitelist entry.
An unexpected client error.
curl -X POST https://api.box.com/2.0/collaboration_whitelist_exempt_targets \
-H 'Authorization: Bearer <ACCESS_TOKEN>'
-H 'Content-Type: application/json" '
-d '{
"user": {
"id": "23522323"
}
}'
string userId = "22222";
BoxCollaborationWhitelistTargetEntry exemptUser = await client.CollaborationWhitelistManager
.AddCollaborationWhitelistExemptUserAsync(userId);
String userID = "12345";
BoxCollaborationWhitelistExemptTarget.create(api, userID);
user = client.user(user_id='11111')
exemption = client.collaboration_whitelist().add_exemption(user)
client.collaborationWhitelist.addExemption('5678', callback);