'Update a single project quota data.
The PATCH data should be an application/json object with the
attributes to set to new quota values.
This method returns HTTP 204 (no content) on success.'

@rest_utils.ajax(data_required=True)
def patch(self, request, project_id):

    disabled_quotas = quotas.get_disabled_quotas(request)
    if (api.base.is_service_enabled(request, 'network') and api.neutron.is_extension_supported(request, 'quotas')):
        neutron_data = {key: request.DATA[key] for key in quotas.NEUTRON_QUOTA_FIELDS if (key not in disabled_quotas)}
        api.neutron.tenant_quota_update(request, project_id, **neutron_data)
    else:
        message = _('Service    Neutron    is    disabled    or    quotas    extension    not    available.')
        raise rest_utils.AjaxError(501, message)
