Delete Collaboration Whitelist
Delete Collaboration Whitelist
Deleting a collaboration whitelist entry will remove the ability for collaborations to be created between your enterprise and the domain listed in that whitelist.
To delete a collaboration whitelist, supply the domain whitelist entry ID to the delete request, which is returned when creating a new whitelist entry or listing whitelists in the enterprise;
cURL
curl -X DELETE https://api.box.com/2.0/collaboration_whitelist_entries/213123 \
-H 'Authorization: Bearer <ACCESS_TOKEN>'
.NET
string entryID = "11111";
await client.CollaborationWhitelistManager.DeleteCollaborationWhitelistEntryAsync(entryID);
Java
BoxCollaborationWhitelist domainToBeDeleted = new BoxCollaborationWhitelist(api, "whitelist-id");
domainToBeDeleted.delete();
Python
client.collaboration_whitelist_entry(entry_id='11111').delete()
Node
client.collaborationWhitelist.removeDomain('12345', callback);