Remove user from list of users exempt from domain restrictions

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

Removes a user's exemption from the restrictions set out by the allowed list of domains for collaborations.

Request

Bearer [ACCESS_TOKEN]
application/json

Path Parameters

984923

The ID of the exemption to the list.

Response

none

A blank response is returned if the exemption was successfully deleted.

application/jsonClient error

An unexpected client error.

delete
Remove user from list of users exempt from 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 DELETE "https://api.box.com/2.0/collaboration_whitelist_exempt_targets/984923" \
     -H "Authorization: Bearer <ACCESS_TOKEN>"
Java
BoxCollaborationWhitelistExemptTarget userWhitelist = new BoxCollaborationWhitelistExemptTarget(api, "whitelist_id") 
userWhitelist.delete();
Python
client.collaboration_whitelist_exempt_target(exemption_id='22222').delete()
Node
client.collaborationWhitelist.removeExemption('12345678', callback);