Box Developer Documentation
Latest version

Remove domain from list of allowed collaboration domains

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

This endpoint is in the version 2024.0. No changes are required to continue using it. For more details, see Box API versioning.

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

Learn more about Box SDK versionig strategy.


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