Latest version

List users exempt from collaboration domain restrictions

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

Returns a list of users who have been exempt from the collaboration domain restrictions.

Request

bearer [ACCESS_TOKEN]
application/json

Query Parameters

integer (int64)in queryoptional
1000
1000

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 user exemptions.

application/jsonClient error

An unexpected client error.

get
List users exempt from collaboration domain restrictions
You can now try out some of our APIs live, right here in the documentation.
Log in

Request Example

cURL
curl -i -X GET "https://api.box.com/2.0/collaboration_whitelist_exempt_targets" \
     -H "authorization: Bearer <ACCESS_TOKEN>"
TypeScript Gen
await client.collaborationAllowlistExemptTargets.getCollaborationWhitelistExemptTargets();
Python Gen
client.collaboration_allowlist_exempt_targets.get_collaboration_whitelist_exempt_targets()
.NET Gen
await client.CollaborationAllowlistExemptTargets.GetCollaborationWhitelistExemptTargetsAsync();
Swift Gen (Beta)
try await client.collaborationAllowlistExemptTargets.getCollaborationWhitelistExemptTargets()
.NET
BoxCollectionMarkerBased<BoxCollaborationWhitelistTargetEntry> = await client.CollaborationWhitelistManager
    .GetAllCollaborationWhitelistExemptUsersAsync();
Node
client.collaborationAllowlist.getAllExemptions(options, callback);

Response Example

{
  "entries": [
    {
      "created_at": "2012-12-12T10:53:43-08:00",
      "enterprise": {
        "id": "11446498",
        "name": "Acme Inc.",
        "type": "enterprise"
      },
      "id": "11446498",
      "modified_at": "2012-12-12T10:53:43-08:00",
      "type": "collaboration_whitelist_exempt_target",
      "user": {
        "id": "11446498",
        "type": "user",
        "login": "ceo@example.com",
        "name": "Aaron Levie"
      }
    }
  ],
  "limit": 1000,
  "next_marker": "JV9IRGZmieiBasejOG9yDCRNgd2ymoZIbjsxbJMjIs3kioVii",
  "prev_marker": "JV9IRGZmieiBasejOG9yDCRNgd2ymoZIbjsxbJMjIs3kioVih"
}