// DeleteDynamicBrokerConfigs deletes a configuration for a broker.
// Deleting a configuration dynamically reverts it to its default value.
DeleteDynamicBrokerConfigs deletes a configuration for a broker.
Deleting a configuration dynamically reverts it to its default value.
// DeleteDynamicBrokerConfigs deletes a configuration for a broker . // Deleting a configuration dynamically reverts it to its default value .
func (c *Client) DeleteDynamicBrokerConfigs(brokerID int, configKeysToBeReseted ...string) error {
	send, err := json.Marshal(configKeysToBeReseted)
	if err != nil {
		return err
	}
	path := fmt.Sprintf(brokerConfigsPath, brokerID)
	resp, err := c.Do(http.MethodDelete, path, contentTypeJSON, send)
	if err != nil {
		return err
	}
	return resp.Body.Close()
}
func ( c * Client ) DeleteDynamicBrokerConfigs ( brokerID int , configKeysToBeReseted ... string ) error { send , err := json . Marshal ( configKeysToBeReseted ) if err != nil { return err } path := fmt . Sprintf ( brokerConfigsPath , brokerID ) resp , err := c . Do ( http . MethodDelete , path , contentTypeJSON , send ) if err != nil { return err } return resp . Body . Close ( ) }
DeleteDynamicBrokerConfigs deletes a configuration for a broker.
DeleteDynamicBrokerConfigs deletes a configuration for a broker .