// Delete a specific Participant. This is a soft-delete. The participant remains associated with the session and cannot be re-added. Participants are only permanently deleted when the [Session](https://www.twilio.com/docs/proxy/api/session) is deleted.
Delete a specific Participant. This is a soft-delete. The participant remains associated with the session and cannot be re-added. Participants are only permanently deleted when the [Session] is deleted.
// Delete a specific Participant . This is a soft - delete . The participant remains associated with the session and cannot be re - added . Participants are only permanently deleted when the [ Session ] ( https : // www . twilio . com / docs / proxy / api / session ) is deleted .
func (c *DefaultApiService) DeleteParticipant(ServiceSid string, SessionSid string, Sid string) error {
	path := "/v1/Services/{ServiceSid}/Sessions/{SessionSid}/Participants/{Sid}"
	path = strings.Replace(path, "{"+"ServiceSid"+"}", ServiceSid, -1)
	path = strings.Replace(path, "{"+"SessionSid"+"}", SessionSid, -1)
	path = strings.Replace(path, "{"+"Sid"+"}", Sid, -1)
	data := url.Values{}
	headers := make(map[string]interface{})
	resp, err := c.requestHandler.Delete(c.baseURL+path, data, headers)
	if err != nil {
		return err
	}
	defer resp.Body.Close()
	return nil
}
func ( c * DefaultApiService ) DeleteParticipant ( ServiceSid string , SessionSid string , Sid string ) error { path := " " path = strings . Replace ( path , " " + " " + " " , ServiceSid , - 1 ) path = strings . Replace ( path , " " + " " + " " , SessionSid , - 1 ) path = strings . Replace ( path , " " + " " + " " , Sid , - 1 ) data := url . Values { } headers := make ( map [ string ] interface { } ) resp , err := c . requestHandler . Delete ( c . baseURL + path , data , headers ) if err != nil { return err } defer resp . Body . Close ( ) return nil }
Delete a specific Participant.
Delete a specific Participant .