Box Developer Documentation

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>"
TypeScript Gen
await client.collaborationAllowlistExemptTargets.deleteCollaborationWhitelistExemptTargetById(
  exemptTarget.id!,
);
Python Gen
client.collaboration_allowlist_exempt_targets.delete_collaboration_whitelist_exempt_target_by_id(
    exempt_target.id
)
.NET Gen
await client.CollaborationAllowlistExemptTargets.DeleteCollaborationWhitelistExemptTargetByIdAsync(collaborationWhitelistExemptTargetId: NullableUtils.Unwrap(exemptTarget.Id));
Swift Gen (Beta)
try await client.collaborationAllowlistExemptTargets.deleteCollaborationWhitelistExemptTargetById(collaborationWhitelistExemptTargetId: exemptTarget.id!)
Node
client.collaborationAllowlist.removeExemption('12345678', callback);