Remove whitelist exemption

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

Deletes a specific collaboration whitelist exemption.

Request

application/json

Path Parameters

984923

The ID of the collaboration whitelist exemption

Response

none

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

You can now try out some of our APIs live, right here in the documentation.
Log In

Request Example

cURL
curl -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);