Manage Applications

    Get whitelist exemption

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

    Returns a users who has been exempt from the collaboration whitelist.

    Request

    application/json

    Path Parameters

    984923

    The ID of the collaboration whitelist exemption

    Response

    Returns a collaboration whitelist exemption.

    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/984923 \
         -H "Authorization: Bearer <ACCESS_TOKEN>"
    .NET
    string exemptionID = "33333";
    BoxCollaborationWhitelistTargetEntry exemptUser = await client.CollaborationWhitelistManager
        .GetCollaborationWhitelistExemptUserAsync(exemptionID);
    Java
    BoxCollaborationWhitelistExemptTarget userWhitelist = new BoxCollaborationWhitelistExemptTarget(api, "whitelistID");
    userWhitelist.getInfo();
    Python
    exemption_id = '11111'
    exemption = client.collaboration_whitelist_exempt_target(exemption_id).get()
    Node
    client.collaborationWhitelist.getExemption(`12345`, callback);

    Response Example

    {
      "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"
    }