Manage Applications

    List whitelist exemptions

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

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

    Request

    application/json

    Query Parameters

    integer / int64in queryoptional
    10001000-1000

    The maximum number of items to return per page.

    stringin queryoptional
    JV9IRGZmieiBasejOG9yDCRNgd2ymoZIbjsxbJMjIs3kioVii

    The position marker at which to begin the response.

    This requires usemarker to be set to true.

    Response

    Returns a collection of collaboration whitelist exemptions.

    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_exempt_targets \
         -H "Authorization: Bearer <ACCESS_TOKEN>"
    .NET
    BoxCollectionMarkerBased<BoxCollaborationWhitelistTargetEntry> = await client.CollaborationWhitelistManager
        .GetAllCollaborationWhitelistExemptUsersAsync();
    Java
    BoxCollaborationWhitelistExemptTarget.getAll(api);
    Python
    exemptions = client.collaboration_whitelist().get_exemptions()
    for exemption in exemptions:
        print('{0} (ID: {1}) is exempt from the collaboration whitelist'.format(exemption.user.name, exemption.user.id))
    Node
    client.colllaborationWhitelists.getAllExemptions(options, callback);

    Response Example

    {
      "limit": 1000,
      "next_marker": 3000,
      "prev_marker": 1000,
      "entries": [
        {
          "id": 11446498,
          "type": "collaboration_whitelist",
          "enterprise": {
            "id": 11446498,
            "type": "enterprise",
            "name": "Acme Inc."
          },
          "user": {
            "id": 11446498,
            "type": "enterprise",
            "name": "Acme Inc."
          },
          "created_at": "2012-12-12T10:53:43-08:00",
          "modified_at": "2012-12-12T10:53:43-08:00"
        }
      ]
    }