Skip to main content
POST
/
collaboration_whitelist_exempt_targets
cURL
curl -i -X POST "https://api.box.com/2.0/collaboration_whitelist_exempt_targets" \
     -H "authorization: Bearer <ACCESS_TOKEN>" \
     -H "content-type: application/json" \
     -d '{
       "user": {
         "id": "23522323"
       }
     }'
{
  "id": "11446498",
  "type": "collaboration_whitelist_exempt_target",
  "enterprise": {
    "id": "11446498",
    "type": "enterprise",
    "name": "Acme Inc."
  },
  "user": {
    "id": "11446498",
    "type": "user",
    "name": "Aaron Levie",
    "login": "[email protected]"
  },
  "created_at": "2012-12-12T10:53:43-08:00",
  "modified_at": "2012-12-12T10:53:43-08:00"
}
This endpoint is in the version 2024.0. No changes are required to continue using it. For more details, see Box API versioning.Learn more about Box SDK versioning strategy.

Authorizations

Authorization
string
header
required

The access token received from the authorization server in the OAuth 2.0 flow.

Body

application/json
user
object
required

The user to exempt.

Response

Returns a new exemption entry.

The user that is exempt from any of the restrictions imposed by the list of allowed collaboration domains for this enterprise.

id
string

The unique identifier for this exemption.

Example:

"11446498"

type
enum<string>

The value will always be collaboration_whitelist_exempt_target.

Available options:
collaboration_whitelist_exempt_target
Example:

"collaboration_whitelist_exempt_target"

enterprise
Enterprise · object

The enterprise this entry belongs to.

user
User (Mini) · object

The user that has been exempt.

created_at
string<date-time>

The time the entry was created.

Example:

"2012-12-12T10:53:43-08:00"

modified_at
string<date-time>

The time the entry was modified.

Example:

"2012-12-12T10:53:43-08:00"