DELETE Channels/ChannelsApi/LeaveFromChannel
Request Information
URI Parameters
None.
Body Parameters
ChannelUpsertInputModel| Name | Description | Type | Additional information |
|---|---|---|---|
| Id | globally unique identifier |
None. |
|
| OwnerId | globally unique identifier |
None. |
|
| ChannelName | string |
None. |
|
| ChannelImage | string |
None. |
|
| IsDeleted | boolean |
None. |
|
| IsInsert | boolean |
None. |
|
| ChannelMembers | Collection of ChannelMemberModel |
None. |
|
| IsLeft | boolean |
None. |
Request Formats
application/json, text/json
Sample:
{
"Id": "a41aae1b-cf4f-4e05-8677-e51505dba66e",
"OwnerId": "d498210f-1a7d-4e06-8c83-7cd2fafb78a5",
"ChannelName": "sample string 1",
"ChannelImage": "sample string 2",
"IsDeleted": true,
"IsInsert": true,
"ChannelMembers": [
{
"ChannelMemberId": "2367a9e4-5f6a-4824-abd2-3cfb945e4d5a",
"IsReadOnly": true
},
{
"ChannelMemberId": "2367a9e4-5f6a-4824-abd2-3cfb945e4d5a",
"IsReadOnly": true
}
],
"IsLeft": true
}
application/xml, text/xml
Sample:
<ChannelUpsertInputModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Communicator.Models.Channels">
<ChannelImage>sample string 2</ChannelImage>
<ChannelMembers>
<ChannelMemberModel>
<ChannelMemberId>2367a9e4-5f6a-4824-abd2-3cfb945e4d5a</ChannelMemberId>
<IsReadOnly>true</IsReadOnly>
</ChannelMemberModel>
<ChannelMemberModel>
<ChannelMemberId>2367a9e4-5f6a-4824-abd2-3cfb945e4d5a</ChannelMemberId>
<IsReadOnly>true</IsReadOnly>
</ChannelMemberModel>
</ChannelMembers>
<ChannelName>sample string 1</ChannelName>
<Id>a41aae1b-cf4f-4e05-8677-e51505dba66e</Id>
<IsDeleted>true</IsDeleted>
<IsInsert>true</IsInsert>
<IsLeft>true</IsLeft>
<OwnerId>d498210f-1a7d-4e06-8c83-7cd2fafb78a5</OwnerId>
</ChannelUpsertInputModel>
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
JsonResultOfCommunicatorJsonResult| Name | Description | Type | Additional information |
|---|---|---|---|
| Content | CommunicatorJsonResult |
None. |
|
| SerializerSettings | JsonSerializerSettings |
None. |
|
| Encoding | Encoding |
None. |
|
| Request | HttpRequestMessage |
None. |
Response Formats
application/json, text/json
Sample:
Sample not available.