Box Developer Documentation

Join BoxWorks 2024 to discover what's possible with content and AI!

Register now!

Remove domain from list of allowed collaboration domains

delete
https://api.box.com/2.0
/collaboration_whitelist_entries/:collaboration_whitelist_entry_id

Removes a domain from the list of domains that have been deemed safe to create collaborations for within the current enterprise.

Request

bearer [ACCESS_TOKEN]
application/json

Path Parameters

stringin pathrequired
213123

The ID of the entry in the list.

Response

none

A blank response is returned if the entry was successfully deleted.

application/jsonClient error

An unexpected client error.

delete
Remove domain from list of allowed collaboration domains
You can now try out some of our APIs live, right here in the documentation.
Log in

Request Example

cURL
curl -i -X DELETE "https://api.box.com/2.0/collaboration_whitelist_entries/213123" \
     -H "authorization: Bearer <ACCESS_TOKEN>"
TypeScript Gen
await client.collaborationAllowlistEntries.deleteCollaborationWhitelistEntryById(
  entry.id!,
);
Python Gen
client.collaboration_allowlist_entries.delete_collaboration_whitelist_entry_by_id(
    entry.id
)
.NET Gen
await client.CollaborationAllowlistEntries.DeleteCollaborationWhitelistEntryByIdAsync(collaborationWhitelistEntryId: NullableUtils.Unwrap(entry.Id));
Swift Gen (Beta)
try await client.collaborationAllowlistEntries.deleteCollaborationWhitelistEntryById(collaborationWhitelistEntryId: entry.id!)
.NET
string entryID = "11111";
await client.CollaborationWhitelistManager.DeleteCollaborationWhitelistEntryAsync(entryID);
Node
client.collaborationAllowlist.removeDomain('12345', callback);