func (c *DefaultApiService) DeleteCompositionHook(Sid string) error {
	path := "/v1/CompositionHooks/{Sid}"
	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
}
// Delete a Recording CompositionHook resource identified by a &#x60;CompositionHook SID&#x60;.
Delete a Recording CompositionHook resource identified by a `CompositionHook SID`.
// Delete a Recording CompositionHook resource identified by a &#x60 ; CompositionHook SID&#x60 ; .
func (c *DefaultApiService) DeleteCompositionHook(Sid string) error {
	path := "/v1/CompositionHooks/{Sid}"
	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 ) DeleteCompositionHook ( Sid string ) error { path := " " 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 Recording CompositionHook resource identified by a `CompositionHook SID`.
Delete a Recording CompositionHook resource identified by a ` CompositionHook SID ` .