List collaboration whitelist entries

get
https://api.box.com/2.0
/collaboration_whitelist_entries

Returns the list of whitelist entries which specify what domains can collaborate with the current enterprise.

Request

application/json

Query Parameters

integer / int64in queryoptional
10001000

The maximum number of items to return per page.

stringin queryoptional
JV9IRGZmieiBasejOG9yDCRNgd2ymoZIbjsxbJMjIs3kioVii

Defines the position marker at which to begin returning results. This is used when paginating using marker-based pagination.

This requires usemarker to be set to true.

Response

Returns a collection of collaboration whitelist entries.

application/jsonClient error

An unexpected client error.

get
List collaboration whitelist entries
You can now try out some of our APIs live, right here in the documentation.
Log in

Request Example

cURL
curl -X GET https://api.box.com/2.0/collaboration_whitelist_entries \
     -H 'Authorization: Bearer <ACCESS_TOKEN>'
.NET
BoxCollectionMarkerBased<BoxCollaborationWhitelistEntry> whitelistedDomains = await client.CollaborationWhitelistManager
    .GetAllCollaborationWhitelistEntriesAsync();
Java
BoxCollaborationWhitelist.getAll(api);
Python
whitelist_entries = client.collaboration_whitelist().get_entries()
for entry in whitelist_entries:
    direction = entry.direction if entry.direction != 'both' else 'bidirectional'
    print('Domain {0} is whitelisted for {1} collaboration'.format(entry.domain, direction))
Node
client.collaborationWhitelist.getAllWhitelistedDomains(callback);