Leave my group channels
Changed onLeave my group channels
This action allows a user to leave all group channels or channels with a specific custom type. This API is useful if you want to let a user leave a set of channels at once. To let a user leave only one of their group channels, use the leave a channel API instead.
Since this API can't be called for a deactivated user, ensure that the <code>leave_all_when_deactivated</code> property of the user is set to its default value of true to let the user leave all joined group channels upon deactivation.
user_id
Type: string
Description: Specifies the unique ID of the user to leave all joined group channels.
Request
- Base URLhttps://api-APP_ID.sendbird.com
- Authnone declared
Path parameters
(Required)
Headers
Request body
Response
Successful response
Changes
- warning
deleted the
headerrequest parameterApi-Token - info
added the new optional
headerrequest parameterapi-token - info
the request property
became optional
- warning
- info
the
headerrequest parameterApi-Tokenbecame optional
- info