Domain restrictions for collaborations
Add domain to list of allowed collaboration domains
Changed onCreates a new entry in the list of allowed domains to allow collaboration for.
post/collaboration_whitelist_entries
Request
- Base URLhttps://api.box.com/2.0
- URLhttps://api.box.com/2.0/collaboration_whitelist_entries
- AuthOAuth 2Authorization code: https://account.box.com/api/oauth2/authorizeToken URL: https://api.box.com/oauth2/token
Request body
Example request
{
"domain": "example.com",
"direction": "inbound"
}Response
Returns a new entry on the list of allowed domains.
Example response
{
"id": "11446498",
"type": "collaboration_whitelist_entry",
"domain": "example.com",
"direction": "both",
"enterprise": {
"id": "11446498",
"type": "enterprise",
"name": "Acme Inc."
},
"created_at": "2012-12-12T10:53:43-08:00"
}Changes
- warning
added the new
unprocessable_entityenum value to theresponse property for the response status
- warning