Box Developer Documentation
Latest version

Get user exempt from collaboration domain restrictions

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 domain restrictions.

Request

bearer [ACCESS_TOKEN]
application/json

Path Parameters

984923

The ID of the exemption to the list.

Response

Returns the user's exempted from the list of collaboration domains.

application/jsonClient error

An unexpected client error.

get
Get user 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/984923" \
     -H "authorization: Bearer <ACCESS_TOKEN>"
TypeScript Gen
await client.collaborationAllowlistExemptTargets.getCollaborationWhitelistExemptTargetById(
  exemptTarget.id!,
);
Python Gen
client.collaboration_allowlist_exempt_targets.get_collaboration_whitelist_exempt_target_by_id(
    exempt_target.id
)
.NET Gen
await client.CollaborationAllowlistExemptTargets.GetCollaborationWhitelistExemptTargetByIdAsync(collaborationWhitelistExemptTargetId: NullableUtils.Unwrap(exemptTarget.Id));
.NET
string exemptionID = "33333";
BoxCollaborationWhitelistTargetEntry exemptUser = await client.CollaborationWhitelistManager
    .GetCollaborationWhitelistExemptUserAsync(exemptionID);
Node
client.collaborationAllowlist.getExemption(`12345`, callback);

Response Example

{
  "id": "11446498",
  "type": "collaboration_whitelist_exempt_target",
  "created_at": "2012-12-12T10:53:43-08:00",
  "enterprise": {
    "id": "11446498",
    "type": "enterprise",
    "name": "Acme Inc."
  },
  "modified_at": "2012-12-12T10:53:43-08:00",
  "user": {
    "id": "11446498",
    "type": "user",
    "login": "ceo@example.com",
    "name": "Aaron Levie"
  }
}