Unregister operators from an open channel
Changed onUnregister operators from an open channel
You can unregister operators in an open channel but keep them in the channel as participants using this API.
channel_url
Type: string
Description: Specifies the URL of the channel to cancel the registration of operators.
Request
- Base URLhttps://api-APP_ID.sendbird.com
- Authnone declared
Path parameters
(Required)
Query parameters
Specifies an array of one or more operator IDs to unregister from the channel. The operators in this array remain as participants of the channel after losing their operational roles. Urlencoding each operator ID is recommended. An example of a Urlencoded array would be ?operator_ids=urlencoded_id_1,urlencoded_id_2.
Determines whether to unregister all operators and leave them as the participants of the channel. When this is set to true, the operator_ids property isn't effective and doesn't need to be specified in the request. (Default: false)
Headers
Response
Successful response
Changes
- warning
deleted the
headerrequest parameterApi-Token - info
api operation id
ocCancelTheRegistrationOfOperatorsremoved and replaced withunregisterOperators - info
added the new optional
headerrequest parameterapi-token - info
for the
queryrequest parameteroperator_ids, the type was generalized fromarraytostring - info
added the media type
application/jsonfor the response with the status
- warning
- info
the
headerrequest parameterApi-Tokenbecame optional
- info