Removes User from selected Channel.

DELETE /v2/Services/{ServiceSid}/Users/{UserSid}/Channels/{ChannelSid}

List of channels for a given user

Removes User from selected Channel.

Headers

  • X-Twilio-Webhook-Enabled string

    The X-Twilio-Webhook-Enabled HTTP request header

    Values are true or false.

Path parameters

  • ServiceSid string Required

    The SID of the Service to read the resources from.

    Minimum length is 34, maximum length is 34. Format should match the following pattern: ^IS[0-9a-fA-F]{32}$.

  • UserSid string Required

    The SID of the User to read the User Channel resources from.

  • ChannelSid string Required

    The SID of the Channel the resource belongs to.

Responses

  • 204

    The resource was deleted successfully.

DELETE /v2/Services/{ServiceSid}/Users/{UserSid}/Channels/{ChannelSid}
curl \
 --request DELETE 'https://chat.twilio.com/v2/Services/{ServiceSid}/Users/{UserSid}/Channels/{ChannelSid}' \
 --user "username:password" \
 --header "X-Twilio-Webhook-Enabled: true"