v1

latestOpenAPI 3.0.2Apache-2.02026-07-142963051.0 MB
Domain restrictions for collaborations

Add domain to list of allowed collaboration domains

Creates a new entry in the list of allowed domains to allow collaboration for.

post/collaboration_whitelist_entries

Request body

domainstring required

The domain to add to the list of allowed domains.

direction'inbound' | 'outbound' | 'both' required

The direction in which to allow collaborations.

Example request

{
  "domain": "example.com",
  "direction": "inbound"
}

Response

Returns a new entry on the list of allowed domains.

idstring

The unique identifier for this entry.

type'collaboration_whitelist_entry'

The value will always be collaboration_whitelist_entry.

domainstring

The whitelisted domain.

direction'inbound' | 'outbound' | 'both'

The direction of the collaborations to allow.

created_atstring date-time

The time the entry was created at.

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"
}