Method RemoveConnection
RemoveConnection(String, String)
Remove a connection You need edit rights on the user store to perform this action.
Declaration
void RemoveConnection(string connectionId, string remoteConnectionIdToRemove)
Parameters
Type | Name | Description |
---|---|---|
System.String | connectionId | The connection id to identify your connection. See also ConnectionId |
System.String | remoteConnectionIdToRemove | The remote connection id to remove |
Examples
POST http://YourServerName/InfoShare/Json/Server/RemoveConnection
Example for remove a connections.{
"connectionId": "e3b3b164-9b0b-4d00-9981-83fe4835df1a"
"remoteConnectionIdToRemove": "880416c4-5a21-4349-be2b-5e4897e8f873"
}
Response:
{ }
Exceptions
Type | Condition |
---|---|
ServiceException | The connection id {connectionId} isn't valid or has expired (10008) |
ServiceException | Not allowed (10014) |
ServiceException | Verification code is needed: Verification code not yet verified (10152) |
ServiceException | Can not remove own connection (10368) |