Remove a participant from the conversation

DELETE /v1/Services/{ChatServiceSid}/Conversations/{ConversationSid}/Participants/{Sid}

A Service Participant resource represents a member of the conversation within a specific service.

Remove a participant from the conversation

Headers

  • X-Twilio-Webhook-Enabled string

    The X-Twilio-Webhook-Enabled HTTP request header

    Values are true or false.

Path parameters

  • ChatServiceSid string Required

    The SID of the Conversation Service the Participant resource is associated with.

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

  • ConversationSid string Required

    The unique ID of the Conversation for this participant.

  • Sid string Required

    A 34 character string that uniquely identifies this resource.

Responses

  • 204

    The resource was deleted successfully.

DELETE /v1/Services/{ChatServiceSid}/Conversations/{ConversationSid}/Participants/{Sid}
curl \
 --request DELETE 'https://conversations.twilio.com/v1/Services/{ChatServiceSid}/Conversations/{ConversationSid}/Participants/{Sid}' \
 --user "username:password" \
 --header "X-Twilio-Webhook-Enabled: true"