// CreateOrUpdateQuotaForAllUsers sets the default quota for all users.
// Read more at: https://docs.lenses.io/using-lenses/user-guide/quotas.html.
CreateOrUpdateQuotaForAllUsers sets the default quota for all users.
// CreateOrUpdateQuotaForAllUsers sets the default quota for all users . // Read more at : https : // docs . lenses . io / using - lenses / user - guide / quotas . html .
func (c *Client) CreateOrUpdateQuotaForAllUsers(config QuotaConfig) error {
	send, err := json.Marshal(config)
	if err != nil {
		return err
	}
	resp, err := c.Do(http.MethodPut, quotasPathAllUsers, contentTypeJSON, send)
	if err != nil {
		return err
	}
	return resp.Body.Close()
}
func ( c * Client ) CreateOrUpdateQuotaForAllUsers ( config QuotaConfig ) error { send , err := json . Marshal ( config ) if err != nil { return err } resp , err := c . Do ( http . MethodPut , quotasPathAllUsers , contentTypeJSON , send ) if err != nil { return err } return resp . Body . Close ( ) }
CreateOrUpdateQuotaForAllUsers sets the default quota for all users.
CreateOrUpdateQuotaForAllUsers sets the default quota for all users .