( Return to API Overview )
- disableAccess
- enableAccess
- list
Description
Provides methods to retrieve and alter organization trust
relationships for a channel.
Namespace:
channel.org
Description:
Disable access to the channel for the given organization.
Parameters:
-
string sessionKey
-
string channelLabel - label of the channel
-
int orgId - id of org being removed access
Returns:
-
int - 1 on success, exception thrown otherwise.
Description:
Enable access to the channel for the given organization.
Parameters:
-
string sessionKey
-
string channelLabel - label of the channel
-
int orgId - id of org being granted access
Returns:
-
int - 1 on success, exception thrown otherwise.
Description:
List the organizations associated with the given channel
that may be trusted.
Parameters:
-
string sessionKey
-
string channelLabel - label of the channel
Returns:
-
array:
-
struct - org
- int "org_id"
- string "org_name"
- boolean "access_enabled"